Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Doubleclicking in a non data area of a grid?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01402985
Message ID:
01403016
Vues:
53
Gang,

I figured it out!

* In the GRIDs MouseDown() Put this code.
*---------------------------------------------------------------
This.AddProperty("LastnXCoord", nXCoord)
This.AddProperty("LastnYCoord", nYCoord)

* In the GRIDs DoubleClick() Put this code.
*---------------------------------------------------------------
nComponent = -1
nRelativeRow = -1
nRelativeColumn = -1
This.GridHitTest( This.LastnXCoord, This.LastnYCoord, @nComponent, ;
@nRelativeRow, @nRelativeColumn )
IF nComponent = 3
* Put your doubleclick code in here...
ENDIF

Thanks for all the help!

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform