borderWidth

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the borderWidth of <object> to <pixelWidth>
set the borderWidth of <line> of <field> to <pixelWidth>
Synonymslinesize
Associationsstack, field
Summary

Specifies the width of an object's border.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pixelWidth

An integer between zero and 255.

Example
set the borderWidth of button "Cancel" to 1
set the borderWidth of this card to 24
set the borderWidth of line 5 of field 1 to 10
RelatedProperty: borderPattern
Glossary: object, property
Description

Use the borderWidth property to change the appearance of an object's border.

By default, the borderWidth of newly created objects is 2. By default, the borderWidth of a paragraph of text in a field is 0.

If the object's showBorder property is false, the borderWidth property has no effect.

The border's appearance and color is affected by the setting of the object's threeD property.

Tagsui