Click or drag to resize

DataWindow.DisableConditionalControls Method (Typed)

X#
Disable those controls in this data window that have been registered with RegisterConditionalControls().

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD DisableConditionalControls() AS USUAL
Request Example View Source

Return Value

Type: Usual
Remarks
This method disables all controls that have been registered with DataWindow:RegisterConditionalControls(), which registers controls as being subject to validation. It is automatically called by DataWindow:Prevalidate() whenever the window fails validation. This way, all registered controls are guaranteed to be unavailable whenever the window is known to be in an invalid state.
See Also