Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting into an existing memo field
Message
De
12/10/2001 11:15:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Inserting into an existing memo field
Divers
Thread ID:
00567640
Message ID:
00567640
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform