Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with artifact of combobox dropdown
Message
De
01/12/2003 13:11:24
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
 
 
À
27/11/2003 08:41:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00853906
Message ID:
00854754
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform