Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expression Evaluator Failed (Comboboxes)
Message
From
15/06/1999 21:39:57
 
 
To
15/06/1999 15:39:55
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00230142
Message ID:
00230255
Views:
26
>I've been using comboboxes since the beginning of time.

Then you've got a few years on me. :-)

What are the rowsource and controlsource for the combo?

>- If I run the form from an ON KEY LABEL, I get a "Fatal Exception" from time to time. (Of course, VFP is "nice enough" to bail out on this one...)

That's wat you get for using ON KEY LABEL. Since OKLs are inter-process (they execute _exactly_ hen hte user presses the key, no matter if VFP is in the middle of another process or not), they can be unpredictable. You can expect an occasional GPF any time you make extensive use of OKLs


>Any ideas/workarounds?
>- George [I'm getting tired of typing 'ON ERROR *' In the gotfocus() of all my comboboxes]

One idea- base your combo (and al other controls, for that matter) on a class. Then you won't have to write the same code over and over.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform