| Library | File | Frames | Expand |
| xint | GetImageColor | () |
|
| void | SetImageColor | (xint value) |
|
Sets the foreground color of the image of the PushButton, if the image has a depth of 1, as a uifcColor.
|
| uifcKey_ptr | GetAcceleratorKey | () |
|
| void | SetAcceleratorKey | (uifcKey_ptr key) |
|
Sets the accelerator key which, when pressed, will activate the PushButton.
|
| xstring | GetDragCursorImage | () |
|
| void | SetDragCursorImage | (xrstring value) |
|
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
|
| xstring | GetImage | () |
|
| void | SetImage | (xrstring value) |
|
Sets the image of the PushButton. This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
|
| uifcAlignment | GetTextAlignment | () |
|
| void | SetTextAlignment | (uifcAlignment value) |
|
Sets the justification of the label of the PushButton if the label is multi-line.
|
| uifcButtonStyle | GetButtonStyle | () |
|
| void | SetButtonStyle | (uifcButtonStyle value) |
|
Sets the display style of the PushButton.
|
| xbool | CanWrap | () |
|
| void | SetCanWrap | (xbool flag) |
|
Sets flag indicating whether the label of the component should wrap within the available space granted to the component by its parent. Currently this flag is only supported for components which are the children of a MenuPane, where the MenuPane has been assigned a given size by the application code.
|
| uifcRichText | GetTextFormat | () |
|
| void | SetTextFormat | (uifcRichText value) |
|
Sets the format of the display text of the component.
The UI RichText format supports the following styles, controlled by their corresponding tokens:
N.B. Each token must be followed immediately by another token or a whitespace character (e.g. space, newline). The very restricted subset of HTML supports the following styles, controlled by their corresponding tokens:
|
| xstring | GetDragNotValidCursorImage | () |
|
| void | SetDragNotValidCursorImage | (xrstring value) |
|
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
|
| xint | GetContentArrangement | () |
|
| void | SetContentArrangement | (xint value) |
|
Sets the alignment of the image and label of the PushButton. This is made up of between 1 and 4 digits which represent the relative locations of the image and label. The first digit is the image alignment within the bounds of the PushButton:
The second digit is optional and is the label alignment within the bounds of the PushButton, using the same scheme as above. If no digit is specified then the label alignment is assumed to be the same as the image alignment. The third digit is also optional and is the relative position of the image and the label if the first 2 digits are equal. If no digit is specified then the relative position is assumed to be 1.
The fourth digit is also optional and is a flag representing whether how the image and label should be displayed. If no digit is specified then then fourth digit is assumed to be 1.
|
| xbool | DoesAllowKeyboardInput | () |
|
| void | SetAllowKeyboardInput | (xbool flag) |
|
Sets flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse). If this value is left unchanged (i.e. 2) then it is automatically set to xtrue or xfalse based upon the value of the ButtonStyle attribute.
|
| xstring | GetFontName | () |
|
| void | SetFontName | (xrstring value) |
|
Sets the name of the font used to draw text in the component. This may also contain a comma-separated list of font names, in which case the closest match (or the first exact match, if available) will be used.
|
| uifcFontClass | GetFontClass | () |
|
| void | SetFontClass | (uifcFontClass value) |
|
Sets the base font class to be used to draw text in the component.
|
| xbool | IsValidDragSite | () |
|
| void | SetValidDragSite | (xbool flag) |
|
Sets flag indicating whether the component can be dragged to start a drag & drop operation.
|
| xbool | CanTruncateText | () |
|
| void | SetCanTruncateText | (xbool flag) |
|
Sets flag indicating whether to truncate the label of the PushButton with ellipsis if there is insufficient space to display the entire text string.
|
| xbool | CanResizeWhenNeeded | () |
|
| void | SetCanResizeWhenNeeded | (xbool flag) |
|
Sets flag indicating whether the PushButton should attempt to resize when its contents are changed.
|
| xreal | GetFontSize | () |
|
| void | SetFontSize | (xreal value) |
|
Sets the point-size of the font used to draw text in the component.
|
| xbool | IsEnabled | () |
|
| void | SetEnabled | (xbool flag) |
|
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
|
| xstring | GetHelpText | () |
|
| void | SetHelpText | (xrstring value) |
|
Sets the popup help-text to be displayed whilst the pointer is over the component. If the value begins with <HTML> then the help-text is treated as HTML, and rendered accordingly. It is often wise to use HTML help-text in conjunction with HelpTextWidth attribute, to define the maximum width of the popup help-text window.
|
| xstring | GetText | () |
|
| void | SetText | (xrstring value) |
|
Sets the label of the PushButton. The text may be single or multi-line, and may contain a mnemonic by prefixing the mnemonic character with an ampersand.
|
| uifcFontStyle | GetFontStyle | () |
|
| void | SetFontStyle | (uifcFontStyle value) |
|
Sets a bitwise OR of the styles of the font used to draw text in the component.
|
| xint | GetImageBackgroundColor | () |
|
| void | SetImageBackgroundColor | (xint value) |
|
Sets the background color of the image of the PushButton, if the image has a depth of 1, as a uifcColor.
|
| xstring | GetAcceleratorText | () |
|