De interface van VDS Renaissance is in meerdere talen beschikbaar. De officiële documentatie wordt in het Engels onderhouden om één consistente en altijd actuele referentie te garanderen.

BITBTN dialog element

Windows Linux macOS

Syntax

DIALOG ADD, BITBTN,<name>,<top>,<left>,<width>,<height>,<filename>, <caption>,<tooltip>,<style>

Description

The BITBTN dialog element is a flat Explorer-type button, which shows a raised boundary when the mouse pointer is over the button.

The filename is the name of the bitmap to be displayed in the button. It should ideally have 256 colors or fewer. The bitmap can be loaded from a resource compiled in to the executable file. In this case, the bitmap should be located in the project folder or the resource folder specified in the project options, and the filename should be prefixed by a hash '#' character.

The caption is optional, and appears below the bitmap if present. The tooltip is also optional, and defines the text that appears in a tooltip when the pointer is over the button. If no tooltip text is present, the button name is used instead.

The BITBTN generates a <name>BUTTON event when it is clicked.

If the button's name is HELP, a button-click event is automatically generated if the F1 key is pressed.

Styles

In addition to user-defined styles to change the default font style and color, the following styles may be used with this dialog element:

MOUSEOVER The element will generate a <name>ENTER event when the mouse enters the boundary of the dialog element, and a <name>LEAVE event when the mouse leaves the boundary.
<cursor style> The cursor will change to the named style when the pointer is over the dialog element. Valid styles are: NONE, ARROW, CROSS, IBEAM, SIZE, NESW, NS, NWSE, WE, UP, WAIT, DRAG, NODROP, HSPLIT, VSPLIT, MULTI, SQL, NO, HELP, HAND.

See also