Skip to content

IOTAMessageServices

Chua CheeWee edited this page May 7, 2026 · 2 revisions

Description

Provides access to message view.

Hierarchy

Up to Parent: IInterface

Methods

Method Description

Properties

Property Description
There are no properties.

Example

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);

Clone this wiki locally