Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindevent and Grid Columns
Message
From
27/05/2010 21:20:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01466311
Message ID:
01466330
Views:
41
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform