>>For some reason this doesn't work. As long as I have 'column.currentcontrol' set to pick_combo1 (my container) it won't show anything in the cells in that column except for the active cell.
>>
>>I'd love to know how to make this work right. Have you actually done this with a container class before? One thing that I though might be causing the problem is that I have a "controlsource" property I have defined as a part of my custom class.
>>
>>Any ideas are absolutely appreciated.
>
>I have a similar control. What I did was add a property to the container called, oddly enough,
ControlSource. In the Init and Refresh of the container [if there is such] need to have
This.txtBox.ControlSource = This.ControlSource. You may also need to add This.Parent.Value = This.Value in the Refresh and/or LostFocus of the textbox as well as This.Enabled = This.Parent.Enabled, etc. You will also need the
This.Enabled = This.Parent.Enabled command in the dropdown command button if you have one.
Mark,
Good to know somebody has actually done this. I already had the controlsource property defined, and was setting my textbox to it in init. There is no value property in the container class, so I tried adding one as you suggested, but it didn't work. Do you have a sample of this code you might be able to send?
Another problem I have with all of this is with navigation. I used my kepress event on the textbox to trap up and down arrows and then issued grid.ActivateCell commands. It works fine until I go beyond the bottom record initially displayed. Then it starts moving me over a column instead of down a cell.
Again, thanks for the help.