Edit

SetFieldEnabling (windowRef, fieldNameOrIndex, enabled)

Enable or disable a custom control (in report setup dialog or in a custom Ask dialog). The enabled parameter should be 1 to enable or 0 to disable. This can only be used on custom controls that you have created; not on built-in controls.

In MoneyWorks 8, this function also applies to any control in a custom window.

See Also:

SetFieldVisibility: Show or hide a custom control