General information
Category:
Forms & Form designer
>Dear all,
>
>In VFP 6, I can doubleclick on a grid row to have further action. However, I fail to do that at VFP 9. Have I forgetton something to set?
>
>Grid.Colum.Text.DoubleClick()
>Grid.enable=.t.
>Grid.readonly=.t.
Hi,
Still the same in VFP9.
("DoubleClick" instead of "DblClick" is only a typo, right?)
On the other hand, there are several possibilities to prevent code in gridX.ColumnY.Text1.DblClick(), for instance
when there are no records in grid.RecordSource (because of a filter or missing Requery() or so)
or when grid.AllowCellSelection=.F.
or when "Text1" is not the column's CurrentControl
or when you have code only in one of many columns' textbox.DblClick()
or when your code causes "grid reconstruction" by recreating the grid.RecordSource alias at runtime
and so on.
hth
-Stefan
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only