Ask Me Help Desk

Ask Me Help Desk (
-   ASP (
-   -   Enabling textboxes (

  • 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.

  • 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.
  • 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

  • All times are GMT -7. The time now is 07:54 PM.