Only one command button on a form can be the default button. When the Default property is set to Yes for one command button, it is automatically set to No for all other command buttons on the form.
Nur eine Befehlsschaltfläche eines Formulars kann die Standardschaltfläche sein. Ist die Default -Eigenschaft für eine Befehlsschaltfläche auf Ja eingestellt, wird sie automatisch für alle anderen Befehlsschaltflächen des Formulars auf Nein eingestellt.
To run this example, create a form with one command button called cmdActiveWebColorChange and paste the following code in the code window. You must have a Web page called index.htm for this procedure to change the background color.
Erstellen Sie zum Ausführen dieses Beispiels ein Formular mit einer Befehlsschaltfläche namens cmdActiveWebColorChange , und fügen Sie folgenden Code im Codefenster ein. Zum Ändern der Hintergrundfarbe benötigen Sie eine Webseite mit dem Namen index.htm für diese Prozedur.
To run this example, create a form with one command button called cmdActiveWebColorChange and paste the following code in the code window.
Erstellen Sie zum Ausführen dieses Beispiels ein Formular mit einer Befehlsschaltfläche namens cmdActiveWebColorChange , und fügen Sie folgenden Code im Codefenster ein.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.