BBjFormElement::remove

Description

In BBj 4.0 and higher, this method removes a child form element.

Syntax

Return Value

Method

void

remove(BBjFormElementchild)

Parameters

Variable

Description

child

Specifies the child form element.

Return Value

None.

Remarks

None.

Example

REM Remove BBjFormElement from this BBjFormElement

REM Obtain the instance to the BBjAPI object
myAPI!=BBjAPI()

REM Obtain an instance of a default BBjPrinter object
LET myBBjPrinter!=myAPI!.getBBjPrinter(0)

REM Get BBjForm for the selected printer
LET myBBjForm!=myBBjPrinter!.getForm(1)

REM Get a new page
LET myBBjFormPage!=myBBjForm!.createPage()

REM Get a new paragraph
LET para1!=myBBjFormPage!.newParagraph()

REM Get another new paragraph
LET para2!=myBBjFormPage!.newParagraph()

REM Add BBjFormElement to this BBjFormElement
para1!.add(para2!)

REM Remove BBjFormElement from this BbjFormElement
para1!.remove(para2!)

RELEASE

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.