Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert a string in memo
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00903323
Message ID:
00903328
Views:
32
>Hi every body,
>
>How may I insert a character string in a memo field (where the cursor is)?
>
>Thank you,
>Ali

Assuming that the memo is being displayed in an edit control and some other control does the insertion.
iCurPos = ThisForm.edit1.SelStart
ThisForm.edit1.Value = Left( ThisForm.edit1.Value, iCurPos - 1 ) ;
		+ " New Text " ;
		+ SubStr( ThisForm.edit1.Value, iCurPos )
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform