Purpose
Defines a value built up from several individual values.
Class
bCompoundValue
Properties
Alignment | (Access / Assign) |
Background | (Access / Assign) |
Font | (Access / Assign) |
Foreground | (Access / Assign) |
InactiveSelectedBackground | (Access / Assign) |
InactiveSelectedForeground | (Access / Assign) |
Origin | (Access / Assign) |
SelectedBackground | (Access / Assign) |
SelectedForeground | (Access / Assign) |
Size | (Access / Assign) |
Value | (Access / Assign) |
ValueCount | (Access) |
ValueList | (Access) |
ValueOptions | (Access / Assign) |
Methods
Internal Methods
Inherits From
<No ancestor>
Inherited By
<No descendants>
Description
By the class bCompoundValue can be summarized different single values and be displayed as one value in a cell of the bBrowser. The single values are formatted by their x and y position, width and height within the bCompoundValue. Each single value is again a bCompoundValue that to be assigned different properties such as font, foreground and background color or alignment.
Samples
In the following sample a compound value, consisting of three single values, is created. The compound value defines the article "screws" with its length and diameter:
LOCAL ocvValue AS bCompoundValue
LOCAL ocvChild AS bCompoundValue
ocvValue := bCompoundValue{"Article: Screws",;
,;
Dimension{160, 70}}
ocvChild := bCompoundValue{"Length: 35 mm",;
Point{5, 22},;
Dimension{74, -1},;
,;
Color{COLORRED}}
ocvValue:AddValue(ocvChild)
ocvChild := bCompoundValue{"Diameter: 17 mm",;
Point{5, 36},;
Dimension{74, -1},;
,;
Color{COLORYELLOW}}
ocvValue:AddValue(ocvChild)
See Also
Page url: http://www.YOURSERVER.com/index.html?bcompoundvalue.htm