Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I never really thought much of property assign methods..
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00241039
Message ID:
00241046
Views:
13
Hi Evan,

This is probably a trivial example if you already have a framework but heres a sample of ladding_assign method from a form I created:


LPARAMETERS vNewVal
THIS.ladding = m.vNewVal

if m.vNewVal = .t.


* Adding a record

Thisform.pgfData.page2.cmdAdd.caption = "\
Thisform.vcrnav.enabled = .f.

thisform.cboAgent.enabled =.f.

ELSE

Thisform.pgfData.page2.cmdAdd.caption = "\
Thisform.vcrnav.enabled = .t.

thisform.cboAgent.enabled =.t.

ENDIF


I only have to change the ladding property withing other methods such as save to get the desired behaviour.

Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform