Silverfrost Logo About Us | Contact Us
 

%br - Bar

Purpose

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

Syntax

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

Modifiers

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

Description

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.

Example

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

See also

%sl - Slider

 

 

 

Copyright © 1999-2017 Silverfrost Limited