Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress event fires twice
Message
From
20/02/2003 15:06:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Keypress event fires twice
Miscellaneous
Thread ID:
00755710
Message ID:
00755710
Views:
30
I have a grid and a command button on form (where else).
Command button click has code I want to run.
Form is previewing all key strokes (thisform.KeyPreview = .T.)
KeyPress event fires code in the command button click when nKeyCode is 13.
User clicks command button and life is good.
If focus is on the grid and user presses enter key, code in command button is run exactly twice.

WhatUpWitDat?

Clueless in Garden Grove
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Next
Reply
Map
View

Click here to load this message in the networking platform