Oracle Forms (MOSC)

MOSC Banner

How to position center customized logon screen in web Forms 11gR2?

edited Nov 25, 2012 10:36PM in Oracle Forms (MOSC) 5 commentsAnswered
Hi,

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

I try with below code, code is working, but form is not exactly in center 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);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center