Skip to main content

selectedObject

Type

function

Summary

Returns the name of the selected object or objects.

Syntax

the selectedObject
selectedObject()

Description

Use the selectedObject function to perform an action on all the selected objects.

Examples

the selectedObject
set the lockText of the selectedObject to true
repeat with x = 1 to the number of lines of the selectedObjects

glossary: property, return, object

property: ID, selectGroupedControls, selected

command: group

control structure: function

function: target

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?