Platoo FReport Components TFRButton

Contents - Events - Properties


Description
Use TFRButton to insert a button into your HTML document.


TFRButton - Events

Contents - TFRButton - Properties

OnGetAccessKey

Delphi declaration
property OnGetAccessKey: TFRGetCharValue read FOnGetAccessKey write FOnGetAccessKey;
C++ declaration
__property TFRGetCharValue OnGetAccessKey={ read=FOnGetAccessKey, write=FOnGetAccessKey }

Description
Use OnGetAccessKey event to get a n underlined hotkey at runtime.

OnGetDisabled
Delphi declaration
property OnGetDisabled;
C++ declaration
__property OnGetDisabled
OnGetName
Delphi declaration
property OnGetName;
C++ declaration
__property OnGetName
OnGetValue

Delphi declaration
property OnGetValue;
C++ declaration
__property OnGetValue

Description
Use OnGetValue to get Caption of a but t on at run-time.


TFRButton - Properties

Contents - TFRButton - Events

AsINPUT

Delphi declaration
property AsINPUT: Boolean read FInput write FInput default true;
C++ declaration
__property bool AsINPUT={ read=FInput, write=FInput, default=1 }

Description
Set to true to insert <INPUT TYPE=BUTTON> , or false to insert <BUTTON>.

<BUTTON> element has more fun c tionality, it can contain all kinds of oth e r HTML elements, but most versions of t he Netscape browser do not support t he <BUTTON> element.

ButtonType
Type of button.

Delphi declaration
property ButtonType: TFRButtonType read FButtonType write FButtonType default frbtButton;
C++ declaration
__property TFRButtonType ButtonType={ read=FButtonType, write=FButtonType, default=0 }

Description
Use ButtonType to set a type of button to SUBMIT, RESET or BUTTON.

See TFRButtonType for more information.

Caption

Delphi declaration
property Caption;
C++ declaration
__property Caption

Description
Text that will appear as a caption of t he button.

Use & symbol inside t he Caprion string to generate a n underlined letter on your button, that will respond to Alt+<Letter> keypress on t he user side. See also OnGetAccessKey .

Use OnGetValue event to get t he caption at run-time.

NOTE: t he underlined hotkey will work only with t he <BUTTON> element, not with <INPUT TYPE=BUTTON>.

Set AsINPUT to false to insert the <BUTTON> element. Most versions of Netscape do not support <BUTTON>.