This class controls how IntraWeb interacts with back button events. The ServerController creates an instance of TIWBackButtonOptions, used internally.
TPersistent -> TIWBackButtonOptions
Mode: TIWBackButtonMode; [Published, Read/Write]
- bmInterceptForm: When set, IntraWeb will check for IWForm.PreventBackButton property. If this property is true, then it will generate code to prevent back button usage
- bmEnable: When set, IntraWeb will not generate any code to prevent back button usage
- bmDisableCompat (default): When set, IntraWeb will use the same code used in previous IntraWeb versions (IW 12 and prior) when ServerController.HistoryEnabled = False
ShowMessage: Boolean; [Published, Read/Write]
Â Default value is false. When TRUE, IntraWeb will show an alert message when it detects that back button has been pressed
WarningMessage: string; [Published, Read/Write]
Allows customisation of the warning message used when ShowMessage is TRUE.
Declaration: constructor Create;
Description: Constructs an instance of the class TIWBackButtonOptions and initializes its data.
Declaration: procedure Assign(ASource: TPersistent); override;
Description: Copies properties values from another TIWBackButtonOptions instance or TPersistent descendant.
- ASource (TPersistent): TIWBackButtonOptions instance to copy properties from