General information
Category:
Forms & Form designer
>I have a grid in my form and the grid headers have code in the CLICK() event.
>
>I want the users to be able to click the headers whenever they want, but I also want them to be able to resize a grid column or even move a grid column.
>
>However, when they resize or move a column, the CLICK() event code is also called.
>
>How can I prevent the CLICK() code from firing when the user resizes or moves a grid column?
>
>Thanks,
>
>Jerryt
Try
-----------------------
.Gridx.columnx.resize
-----------------------
qsize=.t.
-----------------------
.Gridx.columnx.header1.click
-----------------------
if qsize=.t.
...
...
qsize=.f.
else
qsize=.f.
endif
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