Label property - Enabled

J

Jean

Hello everyone,

Can someone tell me if it is in anyway possible to
simulate the Enabled property for a Label control?

What I want to do, is as following: I have a form, with an
Option Group. Above this option group, there is a label
(e.g. lblAsk1) which asks a question, which the user then
selects the chosen option box.
Then, below this option group, there is another 2 option
groups, corrresponding to the 2 options above. I would
like to enable only the option group that corresponds to
the user's selected option.
BUT, within these two option groups, there are Label
controls (e.g. lblAsk2 & lblAsk3). How do I set up the
labels to look like when I set the Option Group' Enabled
property to False? In other words, can I also make the
labels lblbAsk2 or lblAsk3 appear dimmed? The Enabled
property is not under a Label's Data Properties.

Thanks!
 
N

Nikos Yannacopoulos

Jean,

You can change the label's ForeColor property and achieve the same visual
result.

HTH,
Nikos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top