Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindevent and Grid Columns
Message
 
 
To
27/05/2010 22:04:50
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:
01466335
Views:
41
>>>If you mean my previous post, I was actually asking about implementing the NODEFAULT in the delegate method. It seems that (a) this is not possible, and (b) it doesn't really seem necessary.
>>>
>>
>>No, I meant your post from few years ago.
>
>Oh, well, that's possible. I can't quite remember.
>
>>>What I want to do is to detect (in the delegate code) whether the user, when clicking on the header, was also pressing the Ctrl key.
>>
>>Can you check last pressed code in the KeyPress event?
>
>I want to completely eliminate my reliance on specific code that I have to put into each and every column. If I can't do that, then I understand that the entire exercise is useless (for this particular purpose).
>
>The code itself - the code that is currently in each column - is rather short; it calls up code that is located somewhere else. Sorting by grid column (among other things) is already solved in a way, but it requires code to be placed into every column, which is what I am trying to avoid.

Can you still bind your columns and just check the Ctrl status in that code? You may actually check it with Windows API
http://berezniker.com/content/pages/visual-foxpro/getting-additional-info-about-pressed-keyboard-or-mouse-keys
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform