+ -
当前位置:首页 → 问答吧 → 請教~~Close window怎關不起畫面

請教~~Close window怎關不起畫面

时间:2011-09-08

来源:互联网

if (wnd = 'FIND') then
    app_window.close_first_window;   

  elsif (wnd = 'LINES') then
    --defer relations
    --close related windows   
       APP_CUSTOM.CLOSE_WINDOW('FIND');      
  elsif (wnd = 'LINES_SUMMARY') then
    --defer relations
    --close related windows   
     App_custom.close_window('LINES');   
     App_custom.close_window('RETRO_PARA');
  end if;

  /*
    THE FOLLOWING CODE MUST NOT BE MODIFIED. It ensures the cursor is not in
    the window that will be closed (by moving it to the previous block if
    needed), and actually closes the specified window.
  */

  if (wnd = get_view_property(get_item_property(:SYSTEM.CURSOR_ITEM,
                              ITEM_CANVAS), WINDOW_NAME)) then
    do_key('PREVIOUS_BLOCK');
  end if;
  hide_window(wnd);

end close_window;

作者: sally99kao   发布时间: 2011-09-08

帮up

作者: 2713322   发布时间: 2011-09-09