templateScrollbar

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
templateScrollbar
Summary

Used with the set command to set the properties of newly created scrollbars.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the style of the templateScrollbar to scale
RelatedProperty: properties, ID
Glossary: object, keyword, property, command, expression
Message: newScrollbar
Keyword: templateField, templateGroup, templateVideoClip, templateEPS, scrollbar, templatePlayer, templateImage, templateStack, templateGraphic, default, templateAudioClip, templateButton, templateCard
Object: scrollbar
Control Structure: function
Function: functionNames
Command: reset, set
Description

Use the templateScrollbar keyword to set up default properties to be used for any new scrollbars you create.

The templateScrollbar can be thought of as a special, abstract object. It is not an actual scrollbar, but it has all the properties of a scrollbar. The ID property of the templateScrollbar is zero.

You can use the set command to set the properties of the templateScrollbar before creating a scrollbar. The new scrollbar has the properties of the templateScrollbar, by default. Changing the properties of the templateScrollbar does not affect existing scrollbars.

The properties of the templateScrollbar can be returned to the default settings using the reset command.

You can refer to the templateScrollbar using any of the following forms:templateScrollbar

the templateScrollbar
templateScrollbar()

Note: The templateScrollbar keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.