Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Active Row or Cell MouseEnter
Message
From
12/12/2008 14:47:11
 
 
To
12/12/2008 07:41:18
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01366646
Message ID:
01367041
Views:
12
Just off the top of my head -- minor modification of your code to remove macro expansion:
oGrid = EVALUATE("THIS.PARENT."+ALLTRIM(THISFORM.GridName))  && Get reference to grid

m.MouseXCoord = MCOL(WONTOP(),3)
m.MouseYCoord = MROW(WONTOP(),3)

m.GridRelativeRow = oGrid.RelativeRow
m.GridTop = oGrid.Top
m.GridHeaderHeight = oGrid.HeaderHeight
m.GridRowHeight = oGrid.RowHeight
m.CalculatedPosition = m.GridTop + m.GridHeaderHeight + ((m.GridRelativeRow * m.GridRowHeight)-(m.GridRowHeight/2))
oGrid = .NULL.
Previous
Reply
Map
View

Click here to load this message in the networking platform