ClearFormat
ClearFormat(windowID, oboxID), ClearFormat(, oboxID), ClearFormat
parameters: Identifier of a Windows and an object box
Stack | Description | |
---|---|---|
Stack(In) | "CLASS::exdr" | Path | |
Stack(Out) | - |
If there is a format element with the class passed as a string and the subsequent access expression, it is removed from the format list of the Object Box, i.e. its data is no longer displayed in the column. However, the column itself remains.
The command is primarily used to change a format element. For example, to create different formats under different format names:
ObjectListView(Matchcode, 310, 9, 240, 10) [ INITIALIZE : "partner" SetFormatName(, Matchcode) ["CX_KEYWORD::Key()" COLOR BLUE ] SetFormat(, Matchcode) "cast" AddFormatName(, Matchcode) "CX_KEYWORD::Key()" ClearFormat(, Matchcode) ["CX_KEYWORD::Key()" COLOR RED ] SetFormat(, Matchcode)
To completely initialise an object box, see also the command ResetWindow.
With "CLASS::" all format elements of a class are deleted.