Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting into an existing memo field
Message
From
12/10/2001 11:15:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Inserting into an existing memo field
Miscellaneous
Thread ID:
00567640
Message ID:
00567640
Views:
58
Hi Folks -
I have an interesting one:
We would like to take a memo, display it in an edit box. Now when the user types into the edit box, give them the ability to activate what we call a picklist, right mouse click activates a list from which the user can select from. Once the user selects from the picklist, the value needs to be inserted into the memo field, exactly where the cursor was prior to activating the picklist.

The activation of the picklist no-problem, getting the selected value from the picklist no problem, the problem is placing the picklist value in the memo field exactly where the user activated the picklist. The only idea I can come up with is to insert a hidden character just befor activating the list, then parsing the memo field replacing the hidden character the picklist value. The main issue is if the insert is in the middle of a sentence and not at the end.

Has anyone have any other ideas ?

Thanks,

Larry
Next
Reply
Map
View

Click here to load this message in the networking platform