hi,
Is there a way to show the first value (in this case, the value is Sedan) on the drop down without selecting the down arrow?
thanks
rem
Is there a way to show the first value (in this case, the value is Sedan) on the drop down without selecting the down arrow?
Code:
Sub Main
Dim Make(2) as String
Make(0) = "Sedan"
Make(1) = "Truck"
Make(2) = "SUV"
Begin Dialog dlgOptions 10, 28, 100, 100, "Select"
OkButton 60, 20, 20, 10,.btnOK
DropComboBox 10, 20, 40, 20, Make(), .MakeComboBox
End Dialog
iDone = FALSE
While (iDone = FALSE)
Dim dlgVar as dlgOptions
nRet = Dialog(dlgVar)
Select Case nRet
Case -1
iDone = TRUE
End Select
Wend
End Sub
thanks
rem