WINDOW.SetTitle

Previous  Next

 

strTitle = WINDOW.SetTitle( hWindow  AS HANDLE,

                           strTitle AS STRING,

                          [nWinNo   AS INTEGER = 0] ) AS STRING

 


 

Sets the title of the window and returns the new title if successfully updated otherwise returns the old title.  If the nWinNo parameter is supplied the function will add :no to the end of the Title unless the parameter is 0, You can also set the nWinNo parameter to -1 to have the nWinNo automaically increase by 1.