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.