Finds a control that has the provided identifier name.
public System.Windows.Forms.Control FindItem(GotoDialog.DialogItem dialogItem);
Parameter | Description |
---|---|
dialog |
The name of the requested control represented by an enum of type Goto |
The requested control if found. Otherwise null.
The following examples remove the 'Table' item from the Goto
TXTextControl.GotoDialog dlg = new TXTextControl.GotoDialog(textControl1);
System.Windows.Forms.ListBox ctrl = (System.Windows.Forms.ListBox)dlg.FindItem(TXTextControl.GotoDialog.DialogItem.TXITEM_GotoList);
ctrl.Items.RemoveAt(3);