Guest Posted September 28, 2010 Share Posted September 28, 2010 Message from: "Harry Rogers" Hi Is there a means to determine the dimensions of the browser window ? I wanted to reposition a form in the browser centre at certain points in the app. I tried to capture the initial form position so I could at least restore that - but a call to Self.left, top, width, Height always return 0 when called in the onShow for the main form Best regards -- . Quote Link to comment Share on other sites More sharing options...
Guest Posted September 29, 2010 Author Share Posted September 29, 2010 Message from: "Farshad Mohajeri" "Harry Rogers" wrote in message news:L2FeFovXLHA.2996@anaxagvs227... > Hi > > Is there a means to determine the dimensions of the browser window ? > I wanted to reposition a form in the browser centre at certain points > in the app. I will look at possiblities to implement this. If I recall correctly, Ext JS can return browser window size. > I tried to capture the initial form position so I could at least > restore that - but a call to Self.left, top, width, Height always > return 0 when called in the onShow for the main form Thanks for reporting. Logged. . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.