Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent and Grid Columns
Message
De
27/05/2010 21:20:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01466311
Message ID:
01466330
Vues:
42
>Bindevent is the way to go. ...

I am currently trying to do something similar (the code is currently copied in every grid column). What I don't understand is how to manage lparameters. For example, the Header.MouseDown() method starts with:
LPARAMETERS nButton, nShift, nXCoord, nYCoord

* and later:

if nshift = 2
  ...
endif
If I remember correctly, the idea of the framework is to allow sorting on a second, third, ... column by doing a Ctrl-click. How will bindevent() figure out what parameters were passed to Header.MouseDown()?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform