Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>I have a simple modal form with an edit box, a save button, and an exit button
>
>The control source of the edit box is a memory variable created from a memo field in a vfp cursor
>
>The contents of the memory variable shows up OK and the save works fine.
>
>Here's my problem:
>
>The user needs to be able to include carriage returns in the text of the memo field.
>
>When I hit Enter while editing the data, the cursor jumps out the edit box to the save button, and there is no carriage return on the text.
>
>There is no default behavior for the editbox.
>
>There is a keypress method for the form that is trapping the escape key, but no others.
>
>Any suggestions, ideas?
Not much help but I wasn't able to duplicate your problem.
I created a simple form with two native VFP editboxes. Pressing ENTER put a CR in the edit box while TAB went from control to control.
I didn't see any property that controls this, but I could easily have missed one
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement