property Button.Template as String
Specifies the control's template.

 TypeDescription 
   String A String expression that specifies the initialization code ( x-script language ).  
Use the control's Template page to define the initialization code.

All of the properties and methods for all objects in the Exontrol's exButton can be assigned at design time using the WYSWYG Template /Layout editor. Open the control in design mode, and select Properties from its context menu. The Template language uses the x-script language ( very simple ), that can be used to initializes the properties and methods at design time.

The following sample initializes the control's image and caption at design mode, using the Template page:

The button's visual appearance in this case will be:


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.