Plugin API: Built-in classes
Important note: All available classes and their respective members are not listed in this page. To obtain full list you are advised to use Script Tree plugin.
TDockPanel
Docking control for creating side panels. See examples.
Methods
- constructor Create(Name: string; DefaultZoneName: string)
Creates new docking panel. Must be done in script's initialization (about the same when Script.RegisterAction() is called). First parameter specifies unique name that is used to save/load dock's position after user moves it around and restarts the IDE. The second parameter specifies the default location when dock is created for the 1st time. Valid values: "" (this will place dock on the general right side of the editor), "dockPanelFileExplorer", "dockPanelInspector", "dockPanelOutput", "dockPanelLanguageBrowser", "dockPanelLibrary", "dockPanelSQL", "dockPanelCodeExplorer". - procedure Activate(AShowParentForm: Boolean)
Activate dock. ShowParentForm should be true in default case. - procedure Deactivate
- procedure Close
- procedure Show
- function Active: Boolean
Return whether the panel is currently active. - procedure ReDock
Call this on ready signal if you want the panel be visible as soon as the script is installed.
Events
- OnShow
TForm
Visual dialog window control. See examples.
Methods
Properties
Events
- OnActivate
- OnClick
- OnClose
- OnCloseQuery
- OnCreate
- OnDblClick
- OnDeactivate
- OnDestroy
- OnHide
- OnKeyDown
- OnKeyPress
- OnKeyUp
- OnMouseDown
- OnMouseMove
- OnMouseUp
- OnPaint
- OnResize
- OnShow
TLabel
Visual label control.
Properties
Events
TEdit
Visual single-line input control.
Methods
Properties
Events
TMemo
Visual multi-line input control.
Methods
Properties
Events
TComboBox
Visual drop-down input control.
Methods
Properties
Events
TButton
Visual button control.
Methods
Properties
Events
TCheckBox
Visual check-box control.
Methods
Properties
Events
TRadioButton
Visual radio control.
Methods
Properties
Events
TListBox
Visual multi-line item list control.
Methods
Properties
- Height
- Hint
- ItemIndex
- Items
- Left
- MultiSelect
- Parent
- SelCount
- Selected
- ShowHint
- Sorted
- Top
- Visible
- Width
Events
TImage
Visual image control.
Properties
Events
TPanel
Visual panel control used for grouping controls.
Properties
Events
TTimer
Non-visual timer control.
Properties
Events
TStringList
Class for manipulating multi-line text.
Methods
Properties
TFileStream
Class for reading/writing files. Create as TFileStream(FileName, Mode)
Methods
Properties
TMemoryStream
Class for reading/writing data to memory.
Methods
Properties
TIniFile
Class for reading/writing INI files. Create as TIniFile(FileName).
Methods
- DeleteKey
- EraseSection
- ReadBool
- ReadFloat
- ReadInteger
- ReadSection
- ReadSections
- ReadString
- SectionExists
- ValueExists
- WriteBool
- WriteFloat
- WriteInteger
- WriteString