Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a Combo box show a value not in the array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00829585
Message ID:
00833829
Vues:
29
Thanks Marcia,

I have had to make another work around and will share it with you later - but I'll give this a try and let you know.


>Hi Mike.
>
>Actually this is not my worry now. When I unbind it in the init, the combo's values are no longer saved in the table.
>
>Did you remember to call UpdateControlSource() from the combo's Valid()?
>
>
>LOCAL lcAlias, lcControlSource
>WITH This
>  IF ! EMPTY( .cControlSource )
>    lcAlias = JUSTSTEM( .cControlSource )
>    IF UPPER( LEFT( lcAlias, 4 ) ) == 'THIS'
>      lcControlSource = .cControlSource
>      STORE .DisplayValue TO &lcControlSource
>    ELSE
>      REPLACE ( .cControlSource ) WITH .DisplayValue IN ( lcAlias )
>    ENDIF
>  ENDIF
>ENDWITH	
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform