forked from Embarcadero/OTAPI-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
IOTAEditor
chuacw edited this page Feb 7, 2023
·
1 revision
IOTAEditor is a base interface for all editors. A module has one or more editors, where each editor represents a single file and its design-time editor. Given an IOTAEditor interface, you can determine what kind of file and editor it is by using the Supports function, or the as keyword.
Up to Parent: IUnknown
| Method | Description |
|---|---|
| AddNotifier | Call this to register an IOTANotifier. The result is the index to be used when calling RemoveNotifier. If <0 then an error occurred. |
| GetFileName | Returns the actual filename of this module editor. Rename through IOTAModule. |
| GetModified | Returns the editor specific modified status. |
| GetModule | Returns the associated IOTAModule. |
| MarkModified | Mark this editor modified. The associated module will also be modified. |
| RemoveNotifier | Call with the index obtained from AddNotifier. |
| Show | Show this editor. If no views are active, at least one will be created. |
| Property | Description |
|---|---|
| FileName | Calls GetFileName. |
| Modified | Calls GetModified. |
| Module | Calls GetModule. |