Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert a string in memo
Message
From
12/05/2004 18:40:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00903323
Message ID:
00903419
Views:
24
>>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 )
>
Simpler:
thisform.edit1.seltext="text to be inserted"

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform