Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 23 MAY 2007 03:26:00PM Richard Hunt wrote:

Version 7.2.1

I have noticed something that kinda drove me a bit crazy. It appears that a window's size (x,y,w,h), when it is started, is controlled by its parent. Is this normal?

Window's size is (6,111,799,294), when there is no parent.

Window's size is (-499,85,799,294), when there is a parent with size of (-505,-26,505,26).

Notice the "X" and "Y" items are changed based on the parent's "X" and "Y" items.

I use the following sentence to start the window…

NEW_WINDOW=START_WINDOW(WINDOW_ID,PARENT,CREATEPARAM,FALSE$,INSTANCE)

At 24 MAY 2007 11:20AM Gerald Lovel wrote:

Richard,

I am addressing the implied question in your comment. A generic coordinate transformation program for window size would take into account whether the window position is expressed relative to the screen, an MDI frame, the parent, or a control within the parent. The Help definition window in the ATLAS Framework has a radio button for this selection, and then performs the corresponding coordinate transform in program SHOWHELP. As this is free open source code, I hope I am answering your concern.

Gerald

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/a64538d8016fcbef852572e4006ac073.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1