Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form LINKED
Message
From
17/05/2003 07:59:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00789633
Message ID:
00789649
Views:
23
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform