Control.GetNextControl(Control, Boolean) Metodo
Definizione
Recupera il controllo successivo in avanti o all'indietro nell'ordine di tabulazione dei controlli figlio.Retrieves the next control forward or back in the tab order of child controls.
public:
System::Windows::Forms::Control ^ GetNextControl(System::Windows::Forms::Control ^ ctl, bool forward);
public System.Windows.Forms.Control GetNextControl (System.Windows.Forms.Control ctl, bool forward);
member this.GetNextControl : System.Windows.Forms.Control * bool -> System.Windows.Forms.Control
Public Function GetNextControl (ctl As Control, forward As Boolean) As Control
Parametri
- ctl
- Control
Controllo Control con il quale iniziare la ricerca.The Control to start the search with.
- forward
- Boolean
true
per ricercare in avanti nell'ordine di tabulazione; false
per ricercare all'indietro.true
to search forward in the tab order; false
to search backward.
Restituisce
Controllo Control successivo nell'ordine di tabulazione.The next Control in the tab order.
Commenti
Il GetNextControl metodo dipende dall'ordine di tabulazione.The GetNextControl method is dependent on tab order. Per scorrere tutti i controlli di un form, inclusi i controlli annidati, usare la Controls Proprietà.To iterate through all controls of a form, including nested controls, use the Controls property. Per ottenere o impostare il controllo attivo di un controllo contenitore, utilizzare la ActiveControl Proprietà.To get or set the active control of a container control, use the ActiveControl property.