TiObjectCanvas.GetObjectCaption
TiObjectCanvas
Used to get an object's caption property value.
function GetObjectCaption(Handle : Integer) : String;
Description
Call GetObjectCaption to get 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
Value := iComponent.GetObjectCaption(5);
C++ Builder
Value = iComponent->GetObjectCaption(5);
Contents | Index | Previous | Next