FormTreeControl.delete Method
Deletes the specified item from the form tree control.
Syntax
public boolean delete(int Idx)
Run On
Client
Parameters
- Idx
Type: int
An integer that specifies the zero-based index of the item to delete.
Return Value
Type: boolean
true if the item was successfully deleted; otherwise, false.
Examples
The following example shows how to delete the first item in the form tree control.
// The ftc variable was a previously allocated
// FormTreeControl variable.
boolean bDelete;
bDelete = ftc.delete(0);