I have a VB6 Project with a Sheridan Grid (SSOleDBGrid1) and a Sheridan DropDown (SSOleDBDropDown1) linked to the Grid. When I bind the grid to a ADODC control at design time, the drop down functions as expected. However, when I create a ADO connection/recordset at run time and bind the resulting recordset to the grid, the drop down does not function. I have the following code which creates the link between the two Sheridan controls.
Private Sub SSOleDBGrid1_InitColumnProps()
SSOleDBGrid1.Columns(1).DropDownHwnd = SSOleDBDropDown1.hWnd
End Sub
I need to use the run time ADO connection. How do I programmatically make the drop down function?
Thanks in advance for any help!
Private Sub SSOleDBGrid1_InitColumnProps()
SSOleDBGrid1.Columns(1).DropDownHwnd = SSOleDBDropDown1.hWnd
End Sub
I need to use the run time ADO connection. How do I programmatically make the drop down function?
Thanks in advance for any help!