Constructor toolbar.toolbar
Overload
public toolbar(string name = null, TBCtor flags = 0, string f_ = null, int l_ = 0, string m_ = null, string settingsFile = null)
Parameters
name (string)
Toolbar name. Must be valid filename.
Used for: toolbar window name, settings file name, toolbar.find, some other functions.
If |
flags (TBCtor) |
f_ (string) |
l_ (int) |
m_ (string) |
settingsFile (string)
|
Exceptions
ArgumentException
Invalid name. |
Remarks
Each toolbar has a settings file, where are saved its position, size and context menu settings. This function reads the file if exists, ie if settings changed in the past. See toolbar.getSettingsFilePath. If fails, prints a warning and uses default settings.
Sets properties:
-
MTBase.ActionThread =
true
. -
MTBase.ExtractIconPathFromCode =
true
.