Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with artifact of combobox dropdown
Message
De
27/11/2003 08:41:03
 
 
À
26/11/2003 17:31:20
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00853906
Message ID:
00854003
Vues:
20
>Here is the essential issue:
>In a form's KeyPress event I have code that moves the focus from one page of a PageFrame to the next page. So far so good.
>
>My problem:
>If, however, a combobox's dropdown is expanded, then the dropdown remains as an "artifact" and still visible on the new page.
>
>I already have code in place that, prior to the page change, determines whether or not the dropdown is expanded. What I lack is the ability to programmatically close/remove the dropdown before changing the page. I have already tried .Refresh and keyboarding "{enter}", etc.
>
>I would sure appreciate a solution from anyone who has successfully dealt with this.
>
>
Hello Spencer;

If your combobox is expanded.. you have the focus on it.. so, on the lostfocus method you can try some dodefault.. and/or keyboard chr(13).. and/or this.visible=.f.

you know.. some try, to deal with this behavior..


HTH


Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform