RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebForm.TActionButtonHideOption Enumeration

TActionButtonHideOptions indicates when a control to represent an adapter action should not be generated.

Pascal
TActionButtonHideOption = (
  bhoHideOnNoExecuteAccess,
  bhoHideOnActionNotVisible,
  bhoHideOnDisabledAction,
  bhoHideAlways
);
C++
enum TActionButtonHideOption {
  bhoHideOnNoExecuteAccess,
  bhoHideOnActionNotVisible,
  bhoHideOnDisabledAction,
  bhoHideAlways
};

TActionButtonHideOptions 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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!