|
Border by Variable |
Top Previous Next |
|
If you choose "User Variable", you must choose the variables so you can change the border or disable it in run-time (see the supplied example). The variable name drop-list will shown only the global variables that contains "borde" as part of the name (for example, "GLO:Border").
Variable for drawing border to buttons: This variable should be a BYTE. It will contain TRUE or FALSE. When FALSE, the button will be shown "as is". For example, if we take a borderless "Gradient 3D" button, it will look like this:
When TRUE, the button will have a border.
Variable for Rounded border corners: This variable should be a BYTE. It will contain TRUE or FALSE. When TRUE, the button will have rounded corners.
Variable for Border color: This variable should be a LONG. It will contain a valid color code. The button border will have the color specified here. For example, if this variable contains 0808080H (the equivalent to Color:Gray) then the border will be gray instead of black.
Variable for Border width: This variable should be a BYTE. It will contain a small integer positive number. For example, assigning a value of 2 and combined with a maroon color, it will look like this:
|