API Panel.LinkBar.SetBarGfx
From Flowcode Help
Jump to navigationJump to search
Detailed description
This sets the graphics mode for the main line of the bar. The default for the bar is to draw a single pixel line (Bar_Line).
The Mode is the type of link to draw, and if a graphic is to be drawn this will be affected by Width, which is always assumed to be positive and its sign is ignored. The height of the bar is its length, which is auto-calculated.
The RGBA is a true-colour red, green, blue value. This is 255 (0xFF) for red, 0xFF00 for green and 0xFF0000 for blue.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.LinkBar.SetBarGfx(linkbar, ::Panel.LinkBar.Bar_None, rgba, width)
No additional examples