manne
asked on
VideoSoft vsflex control
I'm testing this grid control and I want the combobox in a cell to drop down then I click on it. It only works when I use the keybord, I thougth the following code would work but it doesn't any idees? Which grid control do you prefer, why?
Private Sub vsFlexArray1_BeforeEdit(By Val Row As Long, ByVal Col As Long, Cancel As Boolean)
If Col = 1 Then vsFlexArray1.ComboList = "Red|Green|Blue|Other"
End Sub
Private Sub vsFlexArray1_Click()
Call vsFlexArray1_BeforeEdit(vs FlexArray1 .Row, vsFlexArray1.Col, False)
End Sub
Private Sub vsFlexArray1_BeforeEdit(By
If Col = 1 Then vsFlexArray1.ComboList = "Red|Green|Blue|Other"
End Sub
Private Sub vsFlexArray1_Click()
Call vsFlexArray1_BeforeEdit(vs
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I short and good answer, thank you!
Combolist only works within BeforeEdit *and* when the cell is in edit mode.