Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo auto-scroll
Message
De
12/08/2008 03:33:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01337352
Message ID:
01338242
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>Is it possible the first column of the combo to be a blank field ?
>
>I don't mean to insert a blank record in the table
>
>Or also, the first column to be something as "choose an option"
>
>
>Moises

Of course, and without polluting RowSource:
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show

DEFINE CLASS form1 AS form


	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT combo1 AS combobox WITH ;
		RowSourceType = 1, ;
		RowSource = "AAA,B,CC,DD,FF", ;
		Value = .NULL., ;
		Height = 24, ;
		Left = 96, ;
		Top = 24, ;
		Width = 156, ;
		NullDisplay = "<Choose an option>", ;
		Name = "Combo1"


ENDDEFINE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform