DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


sample_code:search

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
sample_code:search [2018/09/12 20:19]
77.125.22.166
sample_code:search [2018/09/13 06:50]
37.142.167.139
Line 11: Line 11:
     lay = app.CreateLayout( "​linear",​ "​top,​FillXY"​ );      lay = app.CreateLayout( "​linear",​ "​top,​FillXY"​ );
     edt = app.CreateTextEdit( "",​ 0.7 );     edt = app.CreateTextEdit( "",​ 0.7 );
-    edt.SetOnEnter( ​surch );+    edt.SetOnEnter( ​search ​);
     lay.AddChild( edt );     lay.AddChild( edt );
     ​     ​
Line 24: Line 24:
 } }
  
-function ​surch ()+function ​search ​()
 { {
     for( var s = 0 ; s <= 150 ; s++ ){     for( var s = 0 ; s <= 150 ; s++ ){
sample_code/search.txt ยท Last modified: 2018/09/13 06:50 by 37.142.167.139