Skip to main content

WidgetHeightProperty

Type​

operator

Summary​

Manipulates the height property of a child widget

Syntax​

the height of <mWidget>

Description​

Use the height property to set the height of a child widget.

Parameters​

NameTypeDescription

mWidget

The child widget object

Examples​

private variable mChild as Widget

public handler OnCreate() returns nothing
put a new widget "com.livecode.widget.button" into mChild
place mChild
end handler

public handler OnGeometryChanged() returns nothing
-- ensure child widget remains same height as parent
set the height of mChild to my height
end handler
Thank you for your feedback!

Was this page helpful?