changing textbox readonly attribute programatically - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

changing textbox readonly attribute programatically

glenharvyglenharvy Posts: 5Member
Hi,

Is there a way to change several textbox's readonly attribute programatically in VS2005.

I want to toggle the readonly true/false by the user clicking a button.
Glen Harvy

Comments

  • tsagldtsagld Posts: 621Member
    : Hi,
    :
    : Is there a way to change several textbox's readonly attribute programatically in VS2005.
    :
    : I want to toggle the readonly true/false by the user clicking a button.
    : Glen Harvy
    :
    [code]
    textBox.ReadOnly = true;
    /* or */
    textBox.ReadOnly = false;
    [/code];
    What's the problem?

    Greets,
    Eric Goldstein
    http://www.gvh-maatwerk.nl


Sign In or Register to comment.