Tuesday, 14 February 2017

What is Property and Method of Textbox?

Property:
 Enabled: specifies whether user can interact with this control or not
MaxLength: Specify the maximum number of character to be input. Default value is set to 0 that 
                     means user can input any number of characters
Index: It specifies the control array.
Locked: If this control is set to True user can use it else if this control is set to false the control
              cannot be used

Methods:


Setfocus: This method is used to set the focus of the Textbox control.

No comments:
Write comments