Disable/Enable a textbox control.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0

Syntax

Visual Basic
Public Shared Sub TextBoxState ( _
	txtControl As TextBox, _
	blnState As Boolean _
)

Parameters

txtControl
Type: System.Windows.Forms..::..TextBox
txtControl Name of the control
blnState
Type: System..::..Boolean
TRUE: Enabled
FALSE: Disabled.

Remarks

The Textbox control will be locked and disabled and the background color set to windows background.

See Also