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