Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting text in a Editbox
Message
From
25/09/1998 04:47:09
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
25/09/1998 04:15:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140730
Message ID:
00140738
Views:
24
>I am using a editbox and have defined a hotkey to popup a selection list. I would now like the selected text to be inserted at the cursor postion. How can this be done ?
>
>Thanks in Advance
>
>Sonali

Hi,

Just set the SelText property of the edit box to be the text to be inserted.

e.g.

FormObj.edtEditBox.SelText = "Text to be inserted"
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform