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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...