Download for Windows Premium
Publiciteit
DefaultControl DefaultControl-Eigenschaft

Vertaling van "DefaultControl DefaultControl-Eigenschaft" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
DefaultControl property
Die DefaultControl DefaultControl-Eigenschaft ermöglicht es Ihnen, die Standardeigenschaften eines Steuerelements über den Code festzulegen.
The DefaultControl property enables you to set a control's default properties from code.
Wenn Sie versuchen, eine Eigenschaft festzulegen, die nicht als Standardeigenschaft mit der DefaultControl DefaultControl-Eigenschaft festgelegt werden kann, ergibt sich ein Laufzeitfehler.
If you try to set a property that can't be set as a default property with the DefaultControl property, a run-time error will result.
Die DefaultControl DefaultControl-Eigenschaft ermöglicht es Ihnen, die Standardeigenschaften eines Steuerelements über den Code festzulegen. Sobald Sie die Standardeigenschaften für einen bestimmten Steuerelementtyp festgelegt haben, hat jedes daraufhin erstellte Steuerelement dieses Typs dieselben Standardwerte.
The DefaultControl property enables you to set a control's default properties from code. Once you have set the default properties for a particular type of control, each subsequently created control of that type will have the same default values.
Das folgende Beispiel erstellt ein neues Formular und verwendet die DefaultControl DefaultControl-Eigenschaft, um ein Control -Objekt zurückzugeben, das die Standardbefehlsschaltfläche darstellt. Die Prozedur legt einige der Standardeigenschaften für die Befehlsschaltfläche fest und erstellt anschließend eine neue Befehlsschaltfläche auf dem Formular.
The following example creates a new form and uses the DefaultControl property to return a Control object representing the default command button. The procedure sets some of the default properties for the command button, then creates a new command button on the form.
Das folgende Beispiel erstellt ein neues Formular und verwendet die DefaultControl DefaultControl-Eigenschaft, um ein Control -Objekt zurückzugeben, das die Standardbefehlsschaltfläche darstellt.
The following example creates a new form and uses the DefaultControl property to return a Control object representing the default command button.
Die DefaultControl DefaultControl-Eigenschaft gibt ein Control -Objekt des Typs zurück, der durch das Argument Steuerelementtyp festgelegt ist.
The DefaultControl property returns a Control object of the type specified by the controltype argument.
Die DefaultControl DefaultControl-Eigenschaft kann nur in der Formularentwurfsansicht oder der Berichtsentwurfsansicht verwendet werden. Falls Sie versuchen, diese Methode auf ein Formular oder einen Bericht anzuwenden, das oder der sich nicht in der Entwurfsansicht befindet, führt dies zu einem Laufzeitfehler.
The DefaultControl property can be used only in form Design view or report Design view. If you try to apply this property to a form or report that is not in Design view, a run-time error will result.
Wenn Sie ermitteln möchten, welche Eigenschaften Standardeigenschaften sein können, müssen Sie die Properties -Auflistung des Control -Objekts auswerten, das von der DefaultControl DefaultControl-Eigenschaft zurückgegeben wird.
To determine which properties can be default properties, list the Properties collection of the Control object returned by the DefaultControl property.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor DefaultControl DefaultControl-Eigenschaft in het Duits

Publiciteit

Resultaten: 8. Exact: 8. Verstreken tijd: 20 ms.