General information
Category:
Forms & Form designer
>>Thanks, I think it will be possible to capture the click event of the shape-object, and force a click event at the same coordinates for the underlying grid. At least I will give it a try.
>
>That's a little trickier. For that, I use no shape, but column Mousemove with Vlad Tatavu's procedure for converting the mouse pointer (in the UT KB), which uses API calls to do the business. I can give you some tips if you decide to go that way...
The following code in the click event method for the shape object works, but it appears to be a little slow. I would like to try out the way you are suggesting. Could you tell me where to find "Vlad's procedure" in UT KB.
Thanks a lot!
* Code in click event method of shape that covers grid
local lnRow, lnCol, lnWidth
lnRow = mrow("")
lnCol = mcol("")
lnWidth = this.width
thisform.mygrid.setfocus()
THIS.Width = 0
mouse click at lnRow, lnCol
DOEVENTS
this.width = lnWidth
thisform.mygrid.column1.text1.setfocus()
mouse at lnMRow, lnMCol
Previous
Next
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