0 Replies Latest reply: Nov 24, 2012 7:27 AM by user12046241 RSS

    How to Center Align Application Login Page(syslogin.fmx) in Applet Window

    user12046241
      I would like enter align application login webpage(syslogin.fmx)in I.E browser applet window

      I try with below code, but form is not exactly in ceter of the window, please assist me.

      DECLARE
      screen_height NUMBER;
      screen_width NUMBER;
      window_height NUMBER;
      window_width NUMBER;
      applet_size varchar2(30);
      BEGIN

      applet_size := webutil_browser.getappletsize();

      screen_width := substr(applet_size,1,instr(applet_size,',')-1);
      screen_height := substr(applet_size,instr(applet_size,',')+1);

      window_height := GET_WINDOW_PROPERTY('LOGIN', HEIGHT);
      window_width := GET_WINDOW_PROPERTY('LOGIN', WIDTH);

      SET_WINDOW_PROPERTY('LOGIN', X_POS, (screen_width - window_width)/2);
      SET_WINDOW_PROPERTY('LOGIN', Y_POS, screen_height/2 - window_height);

      END;

      Regards
      Sohail Nawaz

      Edited by: user12046241 on Nov 24, 2012 5:27 AM