General information
Category:
Forms & Form designer
>>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 ?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only