TFRButtonContents - Events - Properties
Description
Use TFRButton to insert a button into your HTML document.
Contents - TFRButton - Properties
OnGetAccessKey
OnGetDisabledDelphi 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.
Delphi declarationOnGetName
property OnGetDisabled;
C++ declaration
__property OnGetDisabled
Delphi declarationOnGetValue
property OnGetName;
C++ declaration
__property OnGetName
Delphi declaration
property OnGetValue;
C++ declaration
__property OnGetValue
Description
Use OnGetValue to get Caption of a but t on at run-time.
AsINPUT
ButtonTypeDelphi 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.
Type of button.CaptionDelphi 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.
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>.