OnGeometryChanged

Typemessage
DictionaryLCB
LibraryLiveCode Builder
Syntax
OnGeometryChanged
Associationscom.livecode.widget
Summary

Sent when the widget geometry changed.

Example
private variable mLabel as String

public handler OnGeometryChanged()
	if my width is not my height then
		put "Rectangle" into mLabel
	else
		put "Square" into mLabel
	end if
	redraw all	
end handler
Description

Handle the OnGeometryChanged message to perform specific actions that depend on the geometry of the widget, for example the locations on the canvas where parts of the widget are drawn.

Tagswidget