Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple combo Boxes
Message
From
19/06/2001 07:51:19
 
 
To
19/06/2001 07:40:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00520874
Message ID:
00520929
Views:
21
Hi!

I just made a simple test form to see the behavior and try the solution with shapes, and did not managed to reproduce it. I remember I met the same problem, however, I do not remember now how it was disappeared. If you can make a simple form that shows the behavior, I will very appreciate it. Probably this comes from the subclassing or some code in some event.

>What I don't understand is why the click drills through the dropdown list to the control below (I'm not that heavy handed with clicking)
>
>>Have you ever encountered a similar problem?
>>
>>I really want a generic solution that I can put into the combo's baseclass.. I can't guarantee that the when method will not be overridden, I would also need to ensure the valid resets the flag _after_ it has finished (all our dodefaults are at the start of any custom code)
>>
>>This would also mean that If I dropdown a combo.. then try and click onto another combo without selecting from the dropdown list, the second combo may not receive focus.
>>
>>Maybe the transparent shape will work.. I will have to play
>>
>>Thanks
>>
>>Will
>>
>>>Hi!
>>>
>>>Well, make a logical flag on the form and set it to .T. in the DropDown event of the combobox. Than check that flag in other comboboxes and return .F. in When event if that flag is .T. (do not forget to set flag to .F. before return ;)
>>>
>>>Or just put the transparent shapes over the comboboxes for duration of the drop down list opened that disappear when clicked (click forwarded from the combobox click), however I don;t know if this will work...
>>>
>>>HTH.
>>>
>>>>Hi,
>>>>
>>>>We have lots of forms with two or more combo boxes above each other.
>>>>
>>>>The problem I am having is that every so often when I click on a selection from the first combo, it selects (no problem), but then the combo directly under the mouse also drops down.
>>>>
>>>>I suppose what I want to do is disable the mouseclick for a split second after making a selection in a combo box?
>>>>
>>>>Does anyone have any suggestions?
>>>>
>>>>TIA
>>>>
>>>>Will
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform