Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I'd like to understand comboboxes..
Message
From
20/12/2010 07:21:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
I'd like to understand comboboxes..
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01493347
Message ID:
01493347
Views:
148
Hi friends:

Although are "nice" I don't use comboboxes very much. If I need only a value there's no problem.

For example: Combobox (List) sets a variable to "01" and a textbox makes something with it. That works

But If I want combobox makes something I'm trying to know where logical has gone...

I read "Dad Fox" says somewhere "Put code on 'interactivechange event' because click event might not execute." Ok. I put on "Interactive" I put on "click", I put on "valid" (obviously) I put on "keypress" (keyboard chr(13) to force valid) and I don't know if I have to put code on the my bathroom door...

I put on "interactivechange" and I was happy for a moment. But I did as customers usually does: clicked on the combo again (gotfocus event disables controls which enables according to the value of combobox) and pressed enter... No changes so "interactivechange" doesn't execute. Allright. I like things to do what I expect them to do. And I expect valid event executes...

Valid doesn't execute? No... Debugger... Valid doesn't execute

I hope any of you have studied "the combobox misterious" and can help me.

Thank you

Héctor
Next
Reply
Map
View

Click here to load this message in the networking platform