Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
While were on the subject of Combo Boxes...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00303063
Message ID:
00303120
Vues:
15
>I have a combo box class with this in the Init:
>
>This.Additem("Item 1")
>This.Additem("Item 2")
>This.Additem("Item 2")
>This.Additem("\-")
>This.Additem("Edit Items")
>
>When the user selects "Edit Items", I want to
>store the displayed value BEFORE the list value
>changes.
>
>Any ideas anyone?
>
>TIA

It's doable, but as Erik said, weird. You can use following code:

***Combo.InteractiveChange event
IF this.value=='Edit Items'
 this.value=this.tag
ELSE
 this.tag=this.value
ENDIF
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform