Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls fire twice
Message
From
07/07/2009 01:33:25
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01410388
Message ID:
01410471
Views:
41
Naomi,

is there a reason against simple
PROCEDURE CLICK
NODEFAULT
DO CASE
CASE ...
?

I have a button with a similar problem - it calls a method btw.

Agnes
>
>Add NODEFAULT after thisform.... Click for each case.
>
>In other words,
>
>CASE nKeyCode = 49 && Alt-N Add New
>   thisform.AddNew()
>   nodefault
> CASE nKeyCode = 25 && Alt-P RePorts
>    thisform.PrintReport()
>     nodefault
>
>
>Also it would be better to use form's methods instead of buttton's Click event.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform