[CLOSED] How to get height and width of a maximized window?

  1. #1

    [CLOSED] How to get height and width of a maximized window?

    Hello all is in the title.

    The widht and height properties stays at the value fixed in at window creation.

    The thing is that I want to change the position of some items into he window depending of it's size.

    To note that the problem is the same if I resize window by hand.

    I use a VBoxLayout
    Last edited by Daniil; Sep 20, 2012 at 7:35 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use the getWidth and getHeight methods.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use the getWidth and getHeight methods.
    Thanks, but from CodeBehind?
  4. #4
    It is available on client only, it is not automatically sent to server.

    You can send these values as extra parameters of the AJAX request.
  5. #5
    OK, thansk, I switch layout of my window to anchor and solved the problem.

Similar Threads

  1. [CLOSED] Problem: Closing Maximized Window will loose parent window scrollbar
    By tlfdesarrollo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 19, 2012, 8:51 PM
  2. [CLOSED] Maximized window doesn't remain maximized
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Feb 07, 2012, 3:32 PM
  3. Replies: 2
    Last Post: Oct 14, 2010, 10:05 AM
  4. How to show window maximized ?
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 4
    Last Post: Jun 03, 2010, 6:27 AM
  5. Bug when showing a window maximized
    By Jurke in forum Bugs
    Replies: 0
    Last Post: Oct 29, 2008, 12:56 PM

Posting Permissions