Jump to content

Browser window properties


Guest

Recommended Posts

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

 

--

 

.

 

Link to comment
Share on other sites

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.

 

 

.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...