Display commands are the most common commands that will be used throughout your application program. They allow you to show and hide forms, display controls and manipulate the appearance and data in these controls. Display commands must be enclosed in curly braces to identify them to the TrueGUI command parser.
Display commands have one the following formats:
{ Control-Specifier.Field=Value }
{ Control-Specifier.Property=Value }
{ Control-Specifier.Method(Argument-1, Argument-2, ... Argument-n) }
Control-Specifier - identifies the form or control being referenced (See Control Specifier).
Field - the name of the control's field being set (most controls do not have public fields).
Property - the name of the control's property being set (Width, Height, Name, Text etc).
Value - the value (string, integer, Boolean etc) to which the control's property is being set to.
Method - the name of the form or control's method to be executed (Show(), Hide(), AddItem() etc).
Argument-n - optional arguments passed to the method being executed.
Property commands change the property of a form or control such as its Width, Height, Text etc. Since most of these properties are set up at form design time (in the Visual Studio layout designed), you will seldom need to modify them at runtime by your application program. They are available for more advanced programming such as changing the label on a button or the color of a control to provide visual indicators to the user.
These control properties and methods are defined in the Microsoft .NET documentation. TrueGUI allows access to most of these properties and methods.