Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Baseclass proerty to new form
Message
From
13/08/2000 10:40:46
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00404370
Message ID:
00404376
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform