0 Replies Latest reply on Aug 4, 2007 1:44 AM by wgb14

    Maximize a window when click maximize box

    wgb14
      Hi all

      I wonder if there is a way to allow my user to maximize the main window(stage) of my application when he/she clicks the maximize box. I am using the code below... but i am unsure under which event this code I should call it (on maximize perhaps?). Also this code makes the titlebar and the frame of the window to dissapear... is there any way to fix that? Many thanks fo rany answers.....

      window("stage").drawRect = _system.deskTopRectList[1]
      window("stage").rect = _system.deskTopRectList[1]