Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Active Row or Cell MouseEnter
Message
De
12/12/2008 14:47:11
 
 
À
12/12/2008 07:41:18
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01366646
Message ID:
01367041
Vues:
11
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform