User Tools

Site Tools


sample_code:layout_children

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sample_code:layout_children [2014/12/28 17:49]
stevegarman add clearLayout
sample_code:layout_children [2014/12/29 02:20] (current)
Line 48: Line 48:
 { {
   //takes a layout as an argument    //takes a layout as an argument 
 +  var allobjs = app.GetObjects();
   var obj, order;    var obj, order; 
   //loop through all controls    //loop through all controls 
-  for (var id in _map+  for (var id in allobjs
   {    { 
-      obj = _map[id] +      obj = allobjs[id] 
       //check if control is on our layout        //check if control is on our layout 
       order = layt.GetChildOrder( obj );        order = layt.GetChildOrder( obj ); 
sample_code/layout_children.1419788999.txt.gz · Last modified: 2014/12/29 01:50 (external edit)