| View previous topic :: View next topic |
| Author |
Message |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 768 Location: Eastman, GA
|
Posted: Sat Dec 28, 2002 10:29 pm Post subject: Help w/RichEdit Object |
|
|
I'm making a rich text editor of sorts (or trying to)...anyone know how to get the index of the current line being edited?
NodNarb |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Dec 28, 2002 11:03 pm Post subject: |
|
|
If you are using vdsobj.dll you'd use the following:
| Code: |
%%line = @object(selpos, RichEdit1,L)
|
Where "RichEdit1" is the name of the control. THis will return the line
where the caret is. Replace the "L" with "C" to get the column where
the caret is.
Otherwise you'll have to use API messages, which I don't know off of the
top of my head. If you need to use API messages, PM me or email me
and I'll look them up for ya. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 768 Location: Eastman, GA
|
Posted: Sat Dec 28, 2002 11:36 pm Post subject: |
|
|
I should have known this one
I tried to find it in the help file but for some reason I overlooked it.
NodNarb |
|
| Back to top |
|
 |
|