Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sheridan OLEGrid with DropDown

Status
Not open for further replies.

kessrjs

MIS
Apr 18, 2000
3
US
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!



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top