Type | Description | |||
String | A String expression that specifies CRD format to arrange the items on the toolbar. The Exontrol's Custom Row Designer ( exCRD ) is a WYSWYG tool to build new layouts for cells/nodes, items/rows or columns/fields. The exCRD tool generates CRD strings from the layout you built. The syntax of CRD strings is designed to be easy to build, change and read. Using CRD strings is powerful than preformatted card view, group view formats, nested bands, and so on, since you are free to define the full layout of the cell/node, item/row or a column/field. |
For instance, here are few simple CRD strings:
The CRD syntax in BNF notation is defined like follows:
<CRD> ::= [<Options>] <GroupCRD> <GroupCRD> ::= <UpPart> [ "|" <DownPart> ] <UpPart> ::= <Lines> <DownPart> ::= <Lines> <Lines> ::= <Line> | "(" <Lines> ")" | <Lines> "/" <Lines> <Line> ::= [<Height>;] <LeftPart> [ "|" <RightPart> ] <LeftPart> ::= <Fields> <RightPart> ::= <Fields> <Fields> ::= <Field> | "(" <Fields> ")" | <Fields> "," <Fields> <Field> ::= <Identifier> [<Options>] [ ":" <Width>] <Identifier> ::= <Index> | <Caption> <Options> ::= <Options> [ "[" <Option> "]" ] <Option> ::= <Property> [ "=" <Value> ] <Property> ::= <letter> | <Property> [ <letter> | <digit> ] <Value> ::= <Number> | <String> <Index> ::= <Number> <Caption> ::= <String> <Width> ::= <Number> <Height> ::= <Number> <Number> ::= <digit><Number> <String> ::= """<any_character>""" <digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
The CRD strings may include the following elements:
The Index and Caption element may have one or more of the following options:
- 1, top border, draws the top border
- 2, right border, draws the right border
- 4, bottom border, draws the bottom border
- 8, left border, draws the left border
For instance, the [b=5] means that the element draws the top and the bottom borders. For instance, if the [b=0] is at the beginning of the CRD string, it specifies that by default, no borders are shown.
The Caption element may have one or more of the following options:
- 0, TopLeft, Aligns the caption to the top left corner.
- 1, TopCenter, Centers the caption on the top edge.
- 2, TopRight, Aligns the caption to the upper right corner.
- 16, MiddleLeft, Aligns horizontally the caption on the left side, and centers the caption vertically
- 17, MiddleCenter, Puts the caption on the center of the element. (Default)
- 18, MiddleRight, Aligns horizontally the caption on the right side, and centers the caption vertically
- 32, BottomLeft, Aligns the caption to the lower left corner
- 33, BottomCenter, Centers the caption on the lower edge
- 34, BottomLeft, The caption is resized to fit the source
The options for the CRD string may be ( these options must be always at the beginning of the CRD string ):
- 1, top border, all elements in the CRD layout draw the top border
- 2, right border, all elements in the CRD layout draw the right border
- 4, bottom border, all elements in the CRD layout draw the bottom border
- 8, left border, all elements in the CRD layout draw the left border