reset

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
reset [the] template{<objectType>}
Summary

Returns the specified template object to its default settings.

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

One of LiveCode's objects: stack, group, card, field, button, graphic, image, scrollbar, player, audioClip, videoClip, or EPS.

Example
reset the templateGraphic
reset the templateStack
RelatedCommand: reset paint
Glossary: object, template, default, command, property, return, standalone application
Keyword: templateScrollbar, default
Description

Use the reset command to change a template object back to its defaults after you have changed it temporarily.

Change the properties of template objects temporarily to easily create a number of objects of that type with the property settings you want.

Note: The LiveCode development environment makes changes to template objects when it creates new objects. This means that objects you create in the development environment may not have the same property settings as objects you create in a standalone application.

Tagsobjects