Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime changes in Text field
Message
 
À
19/02/2002 03:22:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00621787
Message ID:
00621810
Vues:
9
Hi!
You can use combobox to display full name. For instance (code in Form.Init event, but you can set properties in design time):
This.AddProperty("aCurr(2,2)")
This.aCurr(1,1)="Local"
This.aCurr(1,2)="L"
This.aCurr(2,1)="Dollar"
This.aCurr(2,2)="D"
With ThisForm.Combo1
	.Style = 2
	.RowSourceType = 5 && Array
	.RowSource = "ThisForm.aCurr"
	.BoundColumn = 2
	.ControlSource="MyTable.MyField"
EndWith
>I am have one field called currency with lenth of c(1). In the form i have the text field to display the currency in full form like( Local, dollar), During run time how can i display the full name. If it is L, i should display as Local other wise Dollar.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform