[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the default caption for the specified button identifier.
Source position: buttons.pp line 527
function GetButtonCaption( |
idButton: Integer |
):string; |
idButton |
|
Button identifier used to get the default caption from a resource string. |
Default caption for the specified button.
GetButtonCaption is a String function used to get the default caption for the numeric button identifier in idButton. The return value contains the resource string from the LCLStrConsts.pas unit for the value in idButton.
idButton contains one of the button identifiers defined in LCLType.pp, such as:
The return value is '?' if any other numeric value is passed in idButton.
GetButtonCaption is called when a value other than bkCustom is assigned to the Kind property in TCustomBitBtn.
|
Gets a scaled bitmap with the default glyph for the specified button identifier. |
Version 3.2 | Generated 2024-02-25 | Home |