Developer

Activate

Shows callout on a screen.

procedure Activate(Target: TControl; Header, Caption: string; AWidth: Integer = 400; AHeight: Integer = 320);

Parameters


Target
TControl
Specify control on which the component will be anchored.
Header
string
Text that will appear in the header line.
Caption
string
The content of the component. Basic html tags can be used to format appearance.
AWidth
Integer
Width of the components window.
AHeight
Integer
Height of the components window.

Example


var NewCallout: TNxCallout6; begin NewCallout := TNxCallout6.Create(Self); NewCallout.Font.Assign(Font); NewCallout.Glyph := Image1.Picture; NewCallout.Activate(NxButton61, 'Header', 'This is <b>the caption</b>. <a href="Open">Click here</a>'); end;

See also