Ask Experts Questions for FREE Help !
    Mistery1's Avatar
    Mistery1 Posts: 39, Reputation: 1
    Junior Member

    Nov 16, 2009, 06:47 AM
    Enabling textboxes
    Hi there,

    I wonder if anyone can help. I am looking for code to enable textboxes one by one. Basically I have 3 textboxes with the cell, home and work numbers. So when I double click on the cell textbox it should start dialling that number, while the home and work number textboxes are greyed out. If there is not answer from the cell number, I will obviously select voicemail from the dropdownlist and the next number textbox(home number) must be enabled.

    Im doing this in in the visual basic language.

    Your help in this regard is mush appreciate.

    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member

    Nov 16, 2009, 06:53 AM

    In the "on doubleclick" handler, simply disable the text boxes that you want to be grayed out. Make sure you call "doevents" so they will appear properly. When you fall out of the handler, simply re-enable the boxes you wish.
    Mistery1's Avatar
    Mistery1 Posts: 39, Reputation: 1
    Junior Member

    Nov 16, 2009, 06:57 AM
    Hi there,

    Thanks for responding. When I change the event handler to doubleclick, it throws me an error saying that doubleclick cannot be found. Please bare with me I'm new to

Not your question? Ask your question View similar questions


Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.

Check out some similar questions!

Enabling Parents [ 28 Answers ]

Hello and firstly thank you for any help/support you can give me. I am the oldest of 3 girls (45, 39, and 37). I have always been told I am the smart one, I am the one who keeps peace in the family also. I am the one who always does the right thing and follows the rules of life. I pay my bills...

Clear Textboxes [ 2 Answers ]

Hi there, I am using the wizard to retrieve data from a database - vb. Basically I have 2 textboxes and a dropdown list. At runtime when I search using the textboxes and dropdown listbox and click on a search button, the data is populated into a datagrid. I need to know how to clear the...

GPO for Enabling Sound cards [ 1 Answers ]

Can you enable soundcards in a group policy? If not is there a way it can be done remotely without logging on to each computer locally? Thanks

Enabling cookies [ 1 Answers ]

How do I enable cookies for internet explorer 5

View more questions Search