Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange memo editing behaviour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125100
Message ID:
00127127
Vues:
53
>Rex,
>
>If you are trying to set up copy and paste why not just include the edit menu in your system menu and forget about it. You do have the events, you have mousedown, mouseup, click, doubleclick, rightclick, lostfocus, gotfocus, when, and valid.
>
>But if you want to do all of this you will be writing code in all of those methods to accomplish what the edit menu options do automatically. You only have to make the user highlight what they want, Ctrl+C it, then click the mouse where they want to put it, and Ctrl+V. That's what they do in their word processor, so they already know how.

Jim,

Thanks again for your continued replies.

My program has two problems :-

1. How to check for an empty memo so that I can enable/disable Print and Export push buttons from the InteractiveChange event. If there is a lage amount of text (say more than 1 screen), the cursor in the memo edit box goes crazy after eack keystroke.

2. I have a form with foreign charcters in a listbox, showing the actual character and its foreign representation. I want the user to pop up the form, say from a push button on another form or memu item, then programmatically insert the foreign character at the insertion point in the textbox, editbox, whatever. This is where the SelStart problem occurs.

Regards..Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform