forked from Embarcadero/OTAPI-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
IOTAMessageServices
Chua CheeWee edited this page May 7, 2026
·
2 revisions
Provides access to message view.
Up to Parent: IInterface
| Method | Description |
|---|
| Property | Description |
|---|---|
| There are no properties. |
The following example shows how to create an instance of an IOTAMessageGroup using IOTAMessageServices.
var
MsgSvcs: IOTAMessageServices;
begin
MsgSvcs := BorlandIDEServices as IOTAMessageServices;
if not Assigned(FMessageGroup) then
begin
FMessageGroup := MsgSvcs.AddMessageGroup(cMessageGroup);
MsgSvcs.ClearMessageGroup(FMessageGroup);
end;
MsgSvcs.ShowMessageView(FMessageGroup);
end;
The following example shows how to add a message to a message group using IOTAMessageServices
...
FMessageGroup: IOTAMessageGroup;
...
var
MsgSvcs: IOTAMessageServices;
...
if not Assigned(FMessageGroup) then
Exit;
MsgSvcs := BorlandIDEServices as IOTAMessageServices;
MsgSvcs.AddTitleMessage(AMsg, FMessageGroup);
MsgSvcs.ShowMessageView(FMessageGroup);
MsgSvcs.NextMessage(True);