DRAW.BUTTON
Define a graphical button on a given drawing.
Syntax
=DRAW.BUTTON(X, Y, Width, Height, LineColor, FillColor, Angle, Label, Value)
Arguments
Name | Description |
---|---|
X | X Coordinate in 1/100th mm |
Y | Y Coordinate in 1/100th mm |
Width | Width in 1/100th mm |
Height | Height in 1/100th mm |
LineColor | Optional. Options: - None for no line - Hexadecimal color value ( #FF0000 for Red) |
FillColor | Optional. Hexadecimal color value ("#FF0000" for Red) |
Angle | Optional. Angle in radians. |
Label | Label to display |
Value | Optional. Current state of the button. TRUE for pushed and FALSE for released. If a cell reference is used, a value change from user interaction will be pushed into that cell. |
Return Value
TRUE, if button could be created.
Example
Function | Result | Comment |
---|---|---|
=DRAW.BUTTON(5801,20056,5292,3625,,,,"Button",A1) | TRUE | A button with "Button" as label. A1 turns TRUE as long as the button is pressed. |