IPrxShape.EditText

Syntax

EditText;

Description

The EditText method enables edit mode for a shape.

Example

To execute the example a form with a button named Button1 on it, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1, that is used as a data source for TabSheetBox are required. Add links to the Report, Tab, Drawing, Forms system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Tab: ITabSheet;
    TabObj: ITabObject;
    Placement: IGxRectF;
    PrxShape, a: IPrxShape;
Begin
    Tab := UiTabSheet1.TabSheet;
    Placement := 
New GxRectF.Create(333030);
    TabObj := Tab.Objects.Add(
"PrxShape", Placement);
    PrxShape := TabObj.Extension 
As IPrxShape;
    PrxShape.Type := PrxShapeType.Link;
    PrxShape.EditText;
End Sub Button1OnClick;

On clicking the button a line is created on the report sheet and the edit mode is enabled for this line:

See also:

IPrxShape