Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo auto-scroll
Message
From
12/08/2008 03:33:57
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01337352
Message ID:
01338242
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform