Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ENABLING/DISABLING TEXTBOX OBJECTS ON A FORM
Message
From
13/01/1997 18:55:02
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017195
Message ID:
00017239
Views:
52
>Is there a way to programmtically do the equivalent in
>VFP 3...this code was taken from a FPW 2.6 screen:
> SHOW GET M.NUM_CLASS DISABLE
> SHOW GET M.GST DISABLE
> SHOW GET M.SCHEDULE ENABLE
> SHOW GET M.PAY ENABLE
>
>I've tried replacing these statements with what I think
>is the VFP equivalent:
>
>milldef.txtProduct38.ENABLED=.T.
>
>but an error saying "unknown member txtProduct38
>
>this statement txtProduct38.ENABLED=.T. generates the error "object txtproduct38 is not found"
>

there is more than one way either do it from the top
thisform.mildef.etc.
_screen.activeform.mildef.etc.
(some other ways as well)
or relatively e.g.
this.parent.thxprofuct38.etc.
(and again there is moer than one way)

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform