From readonly

Hello,

How can I make all the textboxes in a form readonly,
or the hole form readonly,
or the datatable readonly

Marcel


Answer this question

From readonly

  • Jeffrey K. Ericson

    Isn't it "txtText1.Enabled = False" in VB6.

    You can do it for a form to disable all controls on the form.  But make sure you still have a way to close the form.

    Regards

    Jenny

  • Cozmodon

    In general I'd prefer to localize something like "readonly", rather than to make it form wide unless there were a large numb of controls to be treated uniformly.



  • riley.

    textboxN.readonly = true

  • From readonly