Skip to main content

showName

Type

property

Summary

Specifies whether an object's name is displayed within it.

Syntax

set the showName of {<button> | <graphic> | <group>} to {true | false}

Description

Use the showName property to display a text label for an object.

If an object's showName property is set to true, its name is displayed inside its rectangle. If the object has a label property, the label is displayed instead of the name.

Examples

set the showName of button "Oops!" to true

Value

NameTypeDescription

value

bool

The showName of a button, graphic, or group is true or false. By default, the showName property of newly created buttons is set to true. The showName of newly created graphics and groups is set to false.

command: group

glossary: object, property, group

keyword: button, graphic

message: nameChanged

object: button, graphic

property: name, label

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?