Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Am I going crazy here.
>>
>>If you put a THIS.setfocus() call in the lost focus event of a dropdown/combobox, should that not force the combobox to keep regain focus ?
>>
>>At the moment it is not ... and I'm sure I have tried this before.
>>
>>Any comments or suggestions?
>
>If you are not using a toolbar, then the above just wasted your time <g> -- and you may want to provide a little more detail.
Actually more a theory question ... how can you force a dropdown box to keep focus without using a NODEFAULT on the keypress <>
Since the dropdown does not fire its valid clause when you exit the field (it fires when you select a value) ... I need to include code in the lostfocus to make sure that the box actually contains a valid value.
This is done by adding some code to the lostfocus that checks if a valid has actually fired for the dropdown ... if it has not then I want to force the combo to keep focus.
Any comments of suggestions ?
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