Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On key label and record in use by anothor user
Message
 
 
To
24/05/2002 04:11:59
Rasheed Al Rasheed
Riyadh Armed Forces Hospital
Riyadh, Saudi Arabia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00660912
Message ID:
00660943
Views:
8
>I have a command button based on a custome class to verify results. The button has a shrotcut of Alt-V. The code in the class is:
>Init event: On key label F4 Keyboard '{Alt+V}'
>Destroy Event: On keylabel F4
>
>If results in a grid are verfied by clicking the button or by alt+v the action is completed with no problems. If F4 is pressed then a message of Record is in use by anoher user is displayed.
>Any explanation!
>Thanks all

Instead of using ON KEY LABEL set Form's KeyPreview to .t. and put the code into Form's KeyPress method.

Do you have info from related table in your grid? If yes, it could be a bug in VFP. Which VFP version do you use?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform