TiObjectCanvas.SetObjectCaption

TiObjectCanvas

Used to set an object's caption property value.

procedure SetObjectCaption(Handle : Integer) : String;

Description

Call SetObjectCaption to set an object's caption property value.

All objects have a caption property. The Line object does not implement the drawing of the caption. The Rectangle and Ellipse objects will draw the caption centered inside the object.

Example

Delphi

iComponent.SetObjectCaption(5, 'xyz');

C++ Builder

iComponent->SetObjectCaption(5, "xyz");

Contents | Index | Previous | Next