Solved

What method can I use to grey out and not hide a Lable or textbox?

Posted on 2006-11-27
2
165 Views
Last Modified: 2010-08-05
Is there a method I can use when a user select a value out of a list box to grey out the label and textbox without using the Hide or Visable = false method?

Thanks
0
Comment
Question by:GabicusC
2 Comments
 
LVL 16

Accepted Solution

by:
Hillwaaa earned 300 total points
ID: 18023658
Hi GabicusC,

Try the "Enabled" property (either through the properties pane, or manually)

Me.ListBox1.Enabled = False

Cheers,
Hillwaaa
0
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 100 total points
ID: 18023659
GabicusC,
How about the Locked or Enabled property?
~sirbounty
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question