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 


How can I know the lenght of string highlighted ?

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


Joined: 30 Jun 2001
Posts: 60

PostPosted: Sun Jan 27, 2002 10:52 am    Post subject: How can I know the lenght of string highlighted ? Reply with quote

hello,

I have a dilog edit and I want to know the lenght of a string highlighted

_________________
Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Sun Jan 27, 2002 4:01 pm    Post subject: Reply with quote

I believe you want:
Code:

  %P = @sendmsg(@win(~Edit1),$0301,0,0)
  info %P


Replace Edit1 with the name of your EDIT Element.
Note that the API Msg used for this will copy the highlighted string to the clipboard..you might want to save what is in the clipboard, then use the API msg and then set the clipboard to what it was originally.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
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