Silverfrost Logo About Us | Contact Us

%br - Bar


To draw a horizontal or vertical bar which is partially filled with a user-selected colour.


winio@('%Nbr[options]', fillcolour_value)
double precision fill     (input)
integer colour_value     (input)


Question mark (?) - a help string is supplied.


fill specifies the amount of fill in the range 0 to 1 inclusive.

colour_value is the RGB value of the fill colour.

N is a integer constant giving the length of the bar in average characters.

options may include no_border and percentage, and one of left_right, right_left, top_bottom, bottom_top. percentage adds a progress indicator (in the form of a percentage) to a horizontal bar only.


winio@('%15br[bottom_top]', fill, RGB@(200,200,0))

See also

%sl - Slider




Copyright © 1999-2018 Silverfrost Limited