Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display end of memo field and put cursor at end?
Message
 
 
To
24/01/2004 11:06:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00869717
Message ID:
00870281
Views:
28
Hi Peter,

Thank's for sharing it with us. BTW, you can mark your message as solution so it'll be eisier identified in UT searches.

< snip >
>So here is how to put the cursor at the end of existing text in a memo field and never select all of the text on entry:
>
>1) Make sure the EDITBOX.SELECTONENTRY property is FALSE.
>
>2) Make sure the EDITBOX.FORMAT property is empty at design time.
>
>3) Make sure the EDITBOX.FORMAT property is empty at run time.
>
>4) Place this code in the EDITBOX WHEN method:
>     THIS.SELSTART = 99999
>     RETURN .T.
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform