Changes

Jump to navigation Jump to search

on.resize

1 byte added, 22:13, 3 September 2011
Line 7: Line 7:  
== Example  ==
 
== Example  ==
   −
Below is an example of a program that creates/updates the "theHeight" ad "theWidth" global variables whenever the user resizes the widget's frame:
+
Below is an example of a program that creates/updates the "theHeight" and "theWidth" global variables whenever the user resizes the widget's frame:
 
<source lang="lua">
 
<source lang="lua">
 
function on.resize() --Define a function for the events
 
function on.resize() --Define a function for the events

Navigation menu