Information générale
Catégorie:
Codage, syntaxe et commandes
>Hi,
>I have a editbox bound to a memo field and also other controls on a form and I want the editbox to handle the enter as a instead of treating it as a tab and shifting focus to the next control on the form. Any suggestions? I am using VFP5.
EditBoxes by default will treat a return as normal not as a tab. Something else must be causing it to tab instead of newline. Check your keypress method to make sure your not setting focus to anoth control. Also check to see if the form is set to key preview .T. if so look in the form's keypress.
Précédent
Suivant
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