home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 September / PCWorld_2002-09_cd.bin / Software / Topware / winamp / wa3install-mad.exe / Wacs / xml / pledit / searchline.maki (.txt) < prev   
Winamp Compiled Maki Script  |  2002-06-25  |  1KB  |  36 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Text Text2;
  6. Global Edit Edit3;
  7.  
  8.  
  9. System.onScriptLoaded()
  10. {
  11. Group Group4;
  12. Group4 = System.getScriptGroup();
  13. Edit3 = Group4.findObject(( "pledit\.search\.text"));
  14. Text2 = Group4.findObject(( "pledit\.search\.label"));
  15. return Null;
  16. }
  17.  
  18. Edit3.onIdleEditUpdate()
  19. {
  20. Group Group7;
  21. GuiObject GuiObject9;
  22. Group7 = System.getScriptGroup();
  23. GuiObject9 = Group7.getObject(( "pledit\.editor"));
  24. GuiObject9.setXmlParam(( "select"), Edit3.getText());
  25. return Null;
  26. }
  27.  
  28. Text2.onLeftButtonDblClk(int x, int y)
  29. {
  30. Edit3.setText(( ""));
  31. Edit3.onIdleEditUpdate();
  32. return Null;
  33. }
  34.  
  35.  
  36.