ListBox.BorderStyle Property (Outlook Forms Script)

Dient zum Zurückgeben oder Festlegen eines Werts vom Typ Integer, der den Rahmentyp des Steuerelements angibt. Lese-/Schreibzugriff.

Syntax

Ausdruck. Borderstyle

Ausdruck Eine Variable, die ein ListBox-Objekt darstellt.

HinwBemerkungeneise

The possible values of BorderStyle are 0 and 1. 0 represents no visible border line, 1 represents a single-line border (default).

The default value for a ListBox is 0 (None).

Verwenden Sie entweder BorderStyle oder SpecialEffect , um den Rahmen für ein Steuerelement anzugeben, aber nicht beides. If you specify a nonzero value for one of these properties, the system sets the value of the other property to zero. For example, if you set BorderStyle to 1, the system sets SpecialEffect to zero (Flat). If you specify a nonzero value for SpecialEffect, the system sets BorderStyle to zero.

BorderStyle uses BorderColor to define the colors of its borders. To use the BorderColor property, the BorderStyle property must be set to a value other than 0.

Support und Feedback

Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.