Skip to main content

threeD

Type​

property

Summary​

Specifies whether an object appears to stick out of or recede into the screen.

Syntax​

set the threeD of <object> to {true | false}

Description​

Use the threeD property to determine whether an object appears flat or three-dimensional.

If the threeD of an object is true, the object appears to stick up out of the screen (if it is a button) or be pressed a few pixels below the level of the screen. If the threeD is false, the object appears flat.

The borders of objects whose threeD is true are drawn with the topColor and bottomC to simulate depth. The borders of objects whose threeD is false are drawn with the borderColor.

If the object's borderWidth property is zero, or its showBorder is false, the threeD property has no effect.

You can set the threeD property of a stack, but the property has no effect.

Examples​

set the threeD of last button to true

Value​

NameTypeDescription

value

bool

An object's threeD property is true or false. By default, the threeD property of newly created objects is true.

glossary: object, property

keyword: button

object: stack

property: pixels, showBorder, shadow, style, topColor, borderPattern, hiliteBorder, threeDHilite, borderColor

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?