Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress event fires twice
Message
From
20/02/2003 16:17:48
 
 
To
20/02/2003 15:06:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00755710
Message ID:
00755768
Views:
8
Is the 'default' property of the commandButton set to .t.?


>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
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform