Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form LINKED
Message
De
17/05/2003 07:59:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00789633
Message ID:
00789649
Vues:
20
>Dear Friend,
>
>Any sample coding on linking form or detailed explanation. I never used it before. VFP Help is not addequate enough to explain the use.
>
>
>Aashish

I think you must understand the NAME clause first.

The purpose of the NAME clause is to have a variable through which you can control the form.
do form MyForm name xyz linked
xyz.BackColor = rgb(255, 0, 0) && Red
xyz.CmdOK.Enabled = .F.
...
If you include the LINKED clause, you can now close the form just by releasing the variable:
release xyz && will close the form, if it was defined with the LINK clause
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform