Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox question
Message
De
21/02/2004 07:40:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/02/2004 12:49:19
Steven Kleypas
Tarrant County College District
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00879194
Message ID:
00879594
Vues:
14
>Cetin,
>
>I am now trying to customize the control to do a couple of things. First when the control gets focus, I want the selection list to dropdown. To accomplish this, I placed the following in the GotFocus method and it works fine:
>
>KEYBOARD '{F4}'
>IF NOT DODEFAULT()
> RETURN .F.
>ENDIF
>
>Is this the best way to accomplish this?
>
>Secondly, when the list drops down upon entry, I want the first value of the list to be the same as the value in the control. Currently it always shows the first item in the list until the user makes a change to the displayvalue and then the list "syncs" with the combobox displayvalue. Any ideas?
>
>Thanks so much for your time
>
>Steven

Isn't it so already ? Maybe you're not refreshing after record pointer moves in controlsource's alias.

Keyboard '{F4}'
return dodefault() && Not needed unless from a subclass

Should be sufficient
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform