GRID.Template

Previous  Next

 

template = GRID.Template( BYVAL nControl    AS INTEGER,

                          BYVAL strTemplate AS STRING ) AS STRING

 

 

 

 

Set or get the Grid Template that is being used by LoadFile,  The template load the data from the file and format the Grid.  The template name may include a full path.  If not found it will look in the default template folder.  You can specify MG_AUTO_SELECT as the template name and the Grid will try to select the best fitting template for the loaded file.

 

Example:

 

Set the template to the extended MaxMATE format.

' Note; This template must exist in the default template folder "GridTemplates"

GRID.Template( nControl, "MMTemplateX" )