OnOpen

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

Sent when the card containing the widget becomes the current card.

Example
public handler OnOpen()
  		-- Schedule a timer to perform an action every 5 seconds
 		 schedule timer in 5 seconds
end handler
Description

Handle the OnOpen message to have the widget perform an action when the card containing the widget becomes the current card, for example setting default values of instance variables.

Tagswidget