The GotoDialog class implements a Windows Forms dialog box which can be used to move the current input position to a certain page, section, line, table or bookmark. The new input position is shown with a marker. The dialog can be opened as a modeless dialog box. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the GotoDialog.DialogItem enumeration. The GotoDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The GotoDialog is a modeless dialog box which must be shown with the GotoDialog.Show method.

Syntax

public class GotoDialog : System.Windows.Forms.Form
Public Class GotoDialog
  Inherits System.Windows.Forms.Form

Introduced: X13.

Examples

The following example creates a GotoDialog object and shows the dialog box.

TXTextControl.GotoDialog dlg = new TXTextControl.GotoDialog(textControl1); 
dlg.Show();
Dim dlg As TXTextControl.GotoDialog = New TXTextControl.GotoDialog(textControl1)
dlg.Show()

Constructors

Constructor Description
GotoDialog Creates a GotoDialog object for the specified Windows Forms TextControl.

Enumerations

Enumeration Description
DialogItem Each DialogItem represents an item in a GotoDialog dialog box.

Methods

Method Description
FindItem Finds a control that has the provided identifier name.