Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8.0 form error - newbie question
Message
From
20/09/2004 05:28:05
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00943924
Message ID:
00943928
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Nancy,

Rather than using the ON KEY LABEL you might consider adding a "Close" button to FormB with its Cancel property set .t. ... pressing esc then has the same effect as pressing that button, so you can put code in the button's valid event to do as you please.

Re referencing the form: in your separate proc you can presumably refer to the form using _SCREEN.ACTIVEFORM so you don't have to worry about the form's object variable.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform