User Tools

Site Tools


api:dk11:delphi:fmx.gismodalform.tgis_modalform.btncancelclick_tobject

Table of Contents



TGIS_ModalForm.btnCancelClick method

DK for Delphi | FMX.GisModalForm.TGIS_ModalForm.btnCancelClick | Constructors | Fields | Methods | Properties

Handles the standard Cancel button action and sets ModalResult to mrCancel.

Syntax

// Delphi
protected
  procedure btnCancelClick(
    _sender : TObject
  ); virtual;
// C++ Builder
protected:
  virtual void btnCancelClick(
    TObject* _sender
  );

Parameters

Name Type Description
_sender TObject Sender object.

Remarks

Override this method to add custom action before or after the default modal result handling.

2026/07/11 00:18

Page Tools