Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with artifact of combobox dropdown
Message
From
01/12/2003 13:11:24
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, United States
 
 
To
27/11/2003 08:41:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00853906
Message ID:
00854754
Views:
19
Hi Claudio,

Thank you for your kind response. Here is the issue.

Changing a PageFrame's ActivePage inside the form's KeyPress event appears to initially "bypass" the ComboBox's LostFocus. This occurs even though the KeyPress code explicitly calls the ComboBox's Valid event before switching the ActivePage.

The observed sequence of events is:
1) The form's KeyPress calls the ComboBox's Valid.
If the Valid returns .T. then I programmatically switch the ActivePage.

2) Note that the ComboBox's LostFocus does not yet fire.
If the ComboBox was expanded, its dropdown list appears as an artifact on the new page. (My issue!)

3) Upon eventually returning to the ComboBox on the original page, the ComboBox's LostFocus finally does fires.

My form KeyPress based approach appears to work except for this dropdown artifact.

An ability, via keyboard, for the user to rapidly switch between pages is a design decision given to me that I need to implement.

Question to ALL: Is there a way to deal with this artifact image? Must I come up with a different approach to let the user (via keyboard) switch pages?

I'd really appreciate anyone's help here.

Thank you!

Spencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform