forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help w/RichEdit Object

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 768
Location: Eastman, GA

PostPosted: Sat Dec 28, 2002 10:29 pm    Post subject: Help w/RichEdit Object Reply with quote

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
View user's profile Send private message AIM Address
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Dec 28, 2002 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 768
Location: Eastman, GA

PostPosted: Sat Dec 28, 2002 11:36 pm    Post subject: Reply with quote

Embarassed I should have known this one Embarassed

I tried to find it in the help file but for some reason I overlooked it.

NodNarb
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group