Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with KeyPress
Message
 
To
12/12/2000 14:36:10
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00452358
Message ID:
00452522
Views:
21
>Otherwise, if you want to keep F8, change your KeyPress() code to this:
>If nKeyCode = -7 && F8
> ThisForm.Save.SetFocus()
> ThisForm.Save.Valid()
>EndIf

Mike...

I've done this... But I have a problem...

In Form1.TextBox.Valid:
Do Form2 To m.var1 With m.var2

In Form2
ThisForm.xxxx.SetFocus()

An error appear: SetFocus can't fire in Valid...

When I have one problem solver, Another apper to make me crazy!

:)

I will test put Save button with "Default"

Thank you.
Rodolfo Duarte...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform