Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 8.0 form error - newbie question
Message
De
20/09/2004 05:28:05
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00943924
Message ID:
00943928
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform