Disables keyboard and mouse input to a window and grays out its associated label.
A label is the label control that immediately precedes the window.
The label control must have a mnemonic. If the window contains text (for
example, a push button), the text is grayed. If the window is a data field, it cannot
receive the focus.
Namespace: PPJ.RuntimeAssembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)
Syntax
C# |
---|
public static SalBoolean DisableWindowAndLabel( Control ctrl ) |
Parameters
- ctrl
- Type: System.Windows.Forms..::..Control