Loading...
 

marker

marker

Stack
Stack Position Description
Stack(In) Top -
Stack(Out) Top marker

The commands

expect as parameter a vector of arguments. In order to structure these and to provide the command with information as to which parameter means what, markers were introduced to identify the arguments (cf. Named Parameter).

For example, in a SetFormat call it can be specified that an instruction is to be placed in a certain column and a certain font is to be used:

[ "CX_PERSON::name" HEADER "Name" COLUMN 2 FONT 0 ] SetFormat

In this example, the font and column (COLUMN) specifications could be swapped if the markers are swapped at the same time:

[ "CX_PERSON::name" FONT 0 COLUMN 2 HEADER "Name" ] SetFormat

Below is an overview of the available markers. The semantics of the marker can be taken from the context.

marker Context Parameters
ARCHIVE Set parameters -
ASCENDING SetSort -
BITMAP_RATIO DrawBitmap/DrawOle REAL
BOLD MSFonts
SetGuiMetric
-
*_CHARSET MSFonts -
CLIP PutLine -

COLOR
COLOUR

SetFormat (obsolete in the widget_reuse DLLs)
PutLine
DrawBitmap/DrawOle
Set parameters
Colour constant
COLORED
COLOURED
Set parameters -
COLUMN SetFormat
PutLine
INTEGER
CPI Set parameters INTEGER
DESCENDING SetSort -
FF PutLine
DrawBitmap/DrawOle
-
FLAG PutLine
DrawBitmap/DrawOle
INTEGER
FONT SetFormat
PutLine
DrawBitmap/DrawOle
Set parameters
INTEGER
HEADER SetFormat ML_STRING | STRING
HEADER PutLine
DrawBitmap/DrawOle
-
HEADER Set parameters INTEGER
ITALIC MSFonts
SetGuiMetric
-
LF PutLine
DrawBitmap/DrawOle
-
LPI Set parameters INTEGER
MONOSPACE MSFonts
SetGuiMetric
-
NL PutLine
DrawBitmap/DrawOle
-
NO_CHANGE_OVER Set parameters -
OBJECTS_PER_TXN AddIndex/DropIndex -
ORIENTATION MSFonts
SetGuiMetric
INTEGER
ORIGIN Set parameters INTEGER, INTEGER
PAGE Set parameters INTEGER, INTEGER
RIGHT_ADJUST PutLine -
SPOOL PutLine
Set parameters
INTEGER
STRETCH DrawBitmap/DrawOle REAL
STRETCH Set parameters

REAL(, REAL)

UNDERLINE MSFonts
SetGuiMetric
-

The markers FLAG and RIGHT_ADJUST are obsolete:
  • Specify flags without prefixed FLAG
  • instead of RIGHT_ADJUST the flag JUSTIFY_RIGHT should be used