Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi everyone,
Can anyone help? I have the following code in a standard combobox.
If LastKey() = 27
Return .T.
Endif
If Empty(This.value)
Messagebox ['This field cannot be blank',0+16, 'Input Error']
Return 0
Endif
If This.Value = "01"
WAIT WINDOW [ False ]
Return .F.
ELSE
WAIT WINDOW [ True ]
Return .T.
Endif
The combo contains a list of keyed in data. If I select anything other than "01" I see the message 'True' but the cursor will not move to the next input field. There is no code in the 'Lost Focus' event and I have tried Return 1 which sometimes works but not always.
TIA
Chris.
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