Previous chapterNext chapter Show allShow all    Hide allHide all

Prototype: short CanUseVariables(); 

This method returns 1, if the control can use zenon variables, and 0 if it cannot. If the control returns 1, only zenon variables with the types defined in the method VariableTypes and the number defined in the method MaxVariables can be selected for the dynamic element (with the button Variable).

If CanUseVariables returns 0 or the control does not have this method, any number of variables of all types can be defined without limitations. In the Runtime however they only can be used with VBA.