Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Baseclass proerty to new form
Message
De
13/08/2000 10:40:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00404370
Message ID:
00404376
Vues:
11
Hi Roger,

I think you might be confused here. If the new Form is based on "Baseform", then it will inherit the UserDefined property with, as a default, whatever value you defined in "BaseForm". So you would want to test This.UserDefined or ThisForm.UserDefined in the new Form, and change it's value at design time for that Form if required.


>Is it possible to access a property from that Baseform class in a new form.
>
>example.
> BaseForm Class Propery: userdefined = .T.
>
> New form:
> IF BaseForm.Userdefined
> object enabled = .T.
> ELSE
> object enabled = .T.
> ENDIF
>
>Thank you
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform