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
Next revision
Previous revision
sample_code:search [2018/09/12 20:18]
77.125.22.166
sample_code:search [2018/09/13 14:50] (current)
Line 1: Line 1:
-=====Example=====+=====Search=====
 //(Created by: Omer Meshy)// //(Created by: Omer Meshy)//
  
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.1536783504.txt.gz ยท Last modified: 2018/09/13 04:18 (external edit)