Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-27
2
Medium Priority
?
176 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:Richard Comito
2 Comments
 
LVL 16

Accepted Solution

by:
Hillwaaa earned 1200 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 400 total points
ID: 18023659
GabicusC,
How about the Locked or Enabled property?
~sirbounty
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

927 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