Author: Sietse Wijnker
Posted: 2005-10-25 at 01:24:23
Hi Fletcher,
Better but not quite there yet;-)
> However, if I have some code that is supposed to call the
> doubleClick method of a textbox in that grid, I couldn't just call
> grid1.column1.text1.doubleClick() because there is no code there.
>
> I could use RaiseEvent to raise the doubleclick event of that
> textbox which would then result in the doubleclick code in
> the grid firing (just as it would if the user doubleclicked on it.)
This depends on the binding params. If you set it up to bind it at the
code-behind level (default), then calling just the
grid1.column1.text1.doubleClick() will do the trick triggering the grid's
doubleclick. If you bound it at event-level you indeed have to use the
RaiseEvent() to trigger the grid's dblClick.
Regards,
Sietse