Solved

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

Posted on 2006-11-27
2
163 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

948 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now