Example ====== Clear Colour ====== ^ by: | | ^ published: | October 2017 | ^ description: | Clears Colour from programmer | ^ remarks: | Example for usage of clear mask which is of type [[macros:type:object:acwrecordmask|]] | {{tag>clear attribute programmer editor colour mask}} ==== functions ==== * [[:macros:function:Programmer.Editor.Clear]] ===== Code ===== Programmer.Editor.Clear(4, true, false, 0) ===== Explanation ===== This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] Simply calls ''Programmer.Editor.Clear'' with the correct parameters. ===== How to use it ===== * [[:macros:deploying|make this macro available]] * instead of holding '''' and setting the clear mask you can now fire this macro in order to clear only colour. ~~DISCUSSION~~