Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LostFocus vs. Valid in Comboboxes
Message
 
To
15/09/1999 13:08:16
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00264458
Message ID:
00265087
Views:
33
>>I would put no code in Valid, and look at using Click.
>>In Click:
>>
>>This.Lostfocus
>>
>>to fire whatever code you have in your Lostfocus. Will that work?
>
>Won't the Click fire every time the user clicks on the box, even if it's not dropped down?

What kind of box is it? There are two ideas in play here:

1) The Click does not fire when user clicks on the "dropdown arrow" - so a normal selection can be made without any problems.
2) Any other behavior (incremental search, e.g.) can be controlled in the Lostfocus by stopping exit with a NoDefault. I don't know the details of what you're doing, but the hope is that a combination of these two ideas will help...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform