Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.34 KB

Outlook.listbox.borderstyle.md

File metadata and controls

31 lines (17 loc) · 1.34 KB
title ms.assetid ms.date ms.localizationpriority
ListBox.BorderStyle Property (Outlook Forms Script)
8b5996d0-4e03-f6e5-4418-0a28f4ac390d
06/08/2017
medium

ListBox.BorderStyle Property (Outlook Forms Script)

Returns or sets an Integer that specifies the type of border of the control. Read/write.

Syntax

expression.BorderStyle

expression A variable that represents a ListBox object.

Remarks

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).

Use either BorderStyle or SpecialEffect to specify the border for a control, but not both. 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.

[!includeSupport and feedback]