Home » U++ Library support » LineEdit, EditFields, DocEdit » DocEdit appned, highlight, mouse events
Re: DocEdit appned, highlight, mouse events [message #26799 is a reply to message #26663] |
Fri, 28 May 2010 15:14 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
qwerty wrote on Tue, 18 May 2010 09:04 | hello,
1, can I appending "string" to DocEdit?
something like:
|
This should work:
mydocedit.Insert(mydocedit.GetLength(), "text);
Quote: |
2, how can I highlight(like mouse select) just the fragment of text sdded/set to DocEdit (if it's even possible), by code, not by mouse
|
SetSelection.
Quote: |
3, can I somehow find out, which character, or the "sequel" or "rank" of the character drom the begining, when I move the mouse onto it?
|
Not sure what you mean by that.
However, you can always use "GetCursor" to find out current cursor position and operator[] to get character at any position.
Mirek
|
|
|
|
|
DocEdit appned, highlight, mouse events
By: qwerty on Tue, 18 May 2010 15:04
|
|
|
Re: DocEdit appned, highlight, mouse events
|
|
|
Re: DocEdit appned, highlight, mouse events
|
|
|
Re: DocEdit appned, highlight, mouse events
|
|
|
Re: DocEdit appned, highlight, mouse events
By: qwerty on Wed, 19 May 2010 09:36
|
|
|
Re: DocEdit appned, highlight, mouse events
By: mirek on Fri, 28 May 2010 15:14
|
|
|
Re: DocEdit appned, highlight, mouse events
By: qwerty on Tue, 08 June 2010 09:51
|
|
|
Re: DocEdit appned, highlight, mouse events
By: mirek on Thu, 10 June 2010 17:46
|
|
|
[SOLVED]Re: DocEdit appned, highlight, mouse events
By: qwerty on Fri, 11 June 2010 08:00
|
Goto Forum:
Current Time: Sun May 05 06:24:43 CEST 2024
Total time taken to generate the page: 0.02835 seconds
|