The Control Class

Description

The Control Class is an internal class containing resources which are inherited by all objects

The Resources

Name Type Default
XuNdestroyable float (Boolean) true
  • This resource controls whether the object can be destroyed by a destroy or reset command.
Name Type Default
XuNimmutable float (Boolean) false
  • This resource controls whether the object can be modified. Setting this resource to true locks the current settings for the object and disables any further changes, including resetting the resource back to false.
  • Useful if you want to lock your page to be A4, landscape and don't want it to go back to Window - every time you do a reset.
Name Type Default
XuNname string undef
  • The name of the object
Name Type Default
XuNuserData string undef
  • A string which the user can store with the object. It will not be used by Gsharp.
  • If you want to store multiple strings you can separate them with a character such as "|" and then use tokenize to split them again. e.g. "-1|-2|Monday"
Name Type Default
XuNobjectEnabled float (Boolean) false
  • This resource enables or disables the object.
Name Type Default
XuNsave float (Boolean) false
  • This resource controls whether the object is included in any generated GSL.

Return to Graphic Objects.