Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox.Click when any key is pressed
Message
From
06/06/2005 07:54:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
CheckBox.Click when any key is pressed
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01020426
Message ID:
01020426
Views:
71
Fast data entry is paramount to the client, and Windows and mice are notoriously slow in that area.

So when a checkbox has the focus I'd like to be able to check / uncheck never mind what key the user pressed.

To that end I wrote in the KeyPress method
LPARAMETERS nKeyCode, nShiftAltCtrl
RaiseEvent(This,'Click')
Which does not work. The code get's executed and the box get's checked and unchecked in one move.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform