Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Get Default values from a parent form?
Message
De
20/02/2001 17:31:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
How to Get Default values from a parent form?
Divers
Thread ID:
00477822
Message ID:
00477822
Vues:
63
I am using Mere Mortals and have a parent form made from cbizobjnolistmaintform with 5 pages on it. Pages 1 and 2 are the parent bizobj ('Account') and the last 3 pages have child bizobj's using a cListObjEdit class and an associated cListObjEditForm. I've dropped a class containing a group of 8 controls (called 'Code Settings') on the parent and each child form. Each form operates correctly. I need to default the child ('Code Settings') controls to the parent settings when any new child record is created. My problem is how to get default values populated into the child without it being ugly. I thought setting up an object reference to the parent form's ('Code Settings') object in the parent and have the children access it was a good approach, but haven't been able to accomplish it. Should I modify my subclasses as needed or is there another way. Can anyone offer a "how to" or other solution?

Thanks

Gary.
Répondre
Fil
Voir

Click here to load this message in the networking platform