On Aug 2, 5:22 pm, Jim Losi <
jiml...@gmail.com> wrote:
> Is there a way to drag/drop or otherwise insert images using this
> control? if not, it would be a fantastic addition
In a word, no, there isn't.
I'd love to develop that support. I have considered it, and I expect
it would take me a few weeks (less than a month) to complete.
Might your company be willing to pay/sponsor me to develop that new
functionality (support for inserting images)? If so then I'd be
grateful if you could tell me what it might be worth to them, to have
that functionality.
Otherwise I should spend the next few months, looking for ways to
monetize the software that I've finished, and/or looking for paid
employment contracts: which would probably leave me time to support
the existing ModelText software but not to develop new and desirable
functionality.
> as well as a toolbar
> button that displays the html markup in the same textbox.
You can get most of the way there with the existing control:
* See the FileOpenAndSave sample program for an example of how to get
the HTML markup from the control, as text
* Display the html markup text yourself, e.g. by inserting it into a
textbox control of your own (which you could if you like create on top
of the ModelText HTML control, so that it temporarily hides it)
What you cannot do at the moment is add a new button to the existing
toolbar:
* You can create your own menu item (instead of a toolbar button)
* You can use the control's event notification mechanism to watch for
a user's hotkey combination (like, I don't know, <Ctrl>-M or
something)
* You can add a toolbar button to your own toolbar (owned by your
form, not by the control)
If you did want to customize the toolbar though, then I would need to
do further development to expose the APIs to do that (and doing that
wouldn't be on my to do list, unless you were to hire me to do that).
> These would
> make this feature complete for me to use. Other than that, this is a
> fantastic control!
Thank you, for writing to say so. If you'd like to tell me any more
(what you're using it for, what you think is fantastic about it, any
alternatives you may have tried, and how or where you looked for the
control before you found it), then I'd be grateful and might find that
useful.