Ted Young
09-21-2000, 02:38 PM
Is there a grid control that allows you to have a combo box within the grid
for one of the fields?
Specifically, a control that comes with VB 6.0.
I think True Grid will allow you to do this but I want to be able to do this
without having to use a 3rd party control.
Any advice/ideas would be greatly appreciated.
Thanks!
Ted
Raymond Cassick
09-21-2000, 10:52 PM
You can do it by manually aligning the combo box over the top of the cell
you want to edit.
Just use the left, width, top and height properties to align the combo box
over the op of the cell and allow the user to pick the selection. When the
focus changes off the cell simply hide the combo box so it is not seen. Make
sure you handle cases where the user scrolls the grid without removing focus
from the cell though, or you might end up with some very strange issues.
"Ted Young" <tyoung@mlnusa.com> wrote in message
news:39ca4795$1@news.devx.com...
>
> Is there a grid control that allows you to have a combo box within the
grid
> for one of the fields?
>
> Specifically, a control that comes with VB 6.0.
>
> I think True Grid will allow you to do this but I want to be able to do
this
> without having to use a 3rd party control.
>
> Any advice/ideas would be greatly appreciated.
>
> Thanks!
>
> Ted