WebForm.TActionButtonHideOption
Delphi Information
From WebForm.pas
TActionButtonHideOption = { bhoHideOnNoExecuteAccess, bhoHideOnActionNotVisible, bhoHideOnDisabledAction, bhoHideAlways };
Unit: WebForm
Type: enum
C++ Information
From WebForm.hpp
enum TActionButtonHideOption{ bhoHideOnNoExecuteAccess, bhoHideOnActionNotVisible, bhoHideOnDisabledAction, bhoHideAlways };
Unit: WebForm
Type: enum
Description
TActionButtonHideOption indicates when a control to represent an adapter action should not be generated.
TActionButtonHideOption is a set of TActionButtonHideOption values. It can include zero or more of the following values:
| Value | Meaning |
|---|---|
|
bhoHideOnNoExecuteAccess |
Suppress the HTML control when the user does not have rights to execute the associated action, as indicated by the action's HasExecuteAccess method. When this flag is set, server-side script can suppress the control by setting the action's CanExecute property to false. |
|
bhoHideOnActionNotVisible |
Suppress the HTML control when the action returns false from its GetVisible method. When this flag is set, server-side script can suppress the control by setting the action's Visible property to false. This flag is set by default. |
|
bhoHideOnDisabledAction |
Suppress the HTML control when the action returns false from its WebEnabled method. When this flag is set, server-side script can suppress the control by setting the action's Enabled property to false. |
|
bhoHideAlways |
Always suppress the HTML control. |