Skip to main content

PropertyOfWidget

Type

operator

Summary

Manipulates a property implemented by a child widget.

Syntax

property <mName> of <mWidget>

Description

Use the PropertyOfWidget operator to get or set properties of a child widget that are not and of the built-in widget properties.

Parameters

NameTypeDescription

mName

The name of a property declared by mWidget

mWidget

The child widget object

Examples

variable tChild as Widget
put a new widget "com.livecode.widget.navbar" into tChild
place tChild
-- Initialise selected element of nav bar to 1
set property "selectedItem" of tChild to 1
Thank you for your feedback!

Was this page helpful?