ChildrenOfScriptObject

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the children of <Object>
Associationscom.livecode.engine
Summary

Get the child objects of a script object.

Parameters
NameTypeDescription
Object

An expression that evaluates to a ScriptObject

Example
public handler GetSiblings(in pObject as ScriptObject) returns List
	// Return the sibling objects of an object
	return the children of the owner of pObject
end handler
// Unset the highlight of all the controls in a group
resolve script object "group \qcheckboxes\q of this card"
variable tObject
repeat for each element tObject in the children of the result
	set property "hilite" of tObject to false
end repeat
Values
NameTypeDescription
The result

A list of ScriptObjects that are contained within Object.

Description

Use to get the script objects contained within a script object.

Note: An error is thrown if the script object does not exist.

Tagsengine,script engine