>I'm setting the properties of a dropdown list as follows:
>
>BoundCOlumn: 2
>BoundTo: .T.
>RowSource: None, ,E-mail,E,Paper,P,Other,O
>RowSourceType: 1-Value
>
>When I run the form, I set the dropdown list's value property to " " expecting to see the word "None". Instead I see an empty/blank selection. If I dropdown the list, I see the four choices plus an additional empty/blank value.
>
>If I set the value to "P", the dropdown will display "Paper". What do I need to do in this case to get the value to show "None"?
>
>TIA,
>Mike
this work:
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
Top = 0
Left = 0
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT combo1 AS combobox WITH ;
BoundTo = .T., ;
BoundColumn = 2, ;
ColumnCount = 2, ;
RowSourceType = 1, ;
RowSource = "none,,B,1,CC,2,DD,3,FF,4", ;
Value = "", ;
Height = 24, ;
Left = 96, ;
Style = 2, ;
Top = 24, ;
Width = 156
ENDDEFINE