FILE.New

Previous  Next

 

hWindow = FILE.New( strTemplate   AS STRING,

                  [strTitle      AS STRING=NULL],

                  [nTitleNo      AS INTEGER=0],

                  [strScriptFile AS STRING=NULL],

                  [bRunInMain    AS INTEGER=FALSE ) AS HANDLE

 


 

Creates a new analysis window with an optional title and returns the window handle.  If the name of a ScriptFile is supplied, it will load and run the analysis windows context unless bRunInMain is set to TRUE.

 

If nTitleNo is set to a number > 0 then this is added to the title including a ':' character.  If this is set to -1 (TITLE_INC_ALL), then this will look for all windows with the same title and auto increment all of the windows and then add the last number + 1 to the current title