Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting text in a Editbox
Message
 
To
25/09/1998 04:15:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140730
Message ID:
00140748
Views:
26
Hi Sonali,

You could use the SelText for inserting the text. Though if your selection list is a modal form you could simply have something like...
this.SelText = 'NewValue'
When calling a modal form the cursor position in your editbox will not change. Though, if you are calling a non-modal form or using other controls on the form for your popup list, you will have to store the position of the SelStart, and before the above line reset the selStart to the saved value, to position the cursor first.


>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
Previous
Reply
Map
View

Click here to load this message in the networking platform