Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setall command
Message
From
27/12/2002 13:37:48
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00736129
Message ID:
00736138
Views:
13
Hi Gerard,

I imagine that you'd know in advance that you are going to want to disable certain labels and not others? In this case you could subclass the label (you are, of course, subclassing the base classes, aren't you?) as a new label class, eg DisabledLabel. Then you'd issue a Setall("Enabled", .F., "DisabledLabel") when you want to disable the specific labels.

Regards,

Liam


>Hi.
>There are times I want to use the Setall command but dont want to setall.. sounds like a contradiciton , but if I am setting Enabled to false for instance, for all controls on a screen, the Label Controls go into a 'Dimmed' appearance which I dont want
>
>I know I could probably do some sort of a loop to stop this , and exclude any Label Controls, which would retain their original appearance, but maybe there is a simpler way ?
>
>Regards,
>Gerard
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform