Share via


FormTreeControl.deleteAll Method

Deletes all items from the form tree control.

Syntax

public boolean deleteAll()

Run On

Client

Return Value

Type: boolean
true if all items were successfully deleted; otherwise, false.

Examples

The following example shows how to delete all items from a form tree control.

// The ftc variable was a previously allocated 
// FormTreeControl variable. 
boolean bDelete; 
 
bDelete = ftc.deleteAll();

See Also

FormTreeControl Class

FormTreeControl.delete Method

FormTreeControl.add Method

FormTreeControl.addItem Method