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 29 AUG 2000 01:29:22PM rayc@symmetryinfo.com wrote:

To all,

I am calling a 'generic' program from a Quick Event which will fire a popup. This works fine. However, I would like for the popups to be display right below the calling control. For example, if I call the POPUP_Month Calendar (supplied by RTI), it displays right below the calling control.

I looked at the POPUP_Month program and tried to incorporate (copied) the below code into my 'generic' popup program.

* Below Code Cloned from Popup_Month Rect=str(\00\, 8) Handle=Get_Property(CtrlEntId,'HANDLE') * get x,y+h of control GetWindowRect(Handle, Rect) xDlg=seq(Rect 1,1) + (seq(Rect 2,1) * 256) yDlg=seq(Rect 7,1) + (seq(Rect 8,1) * 256) * define Popup X and Y TypeOverRide=xDlg ;* set X position of Popup TypeOverRide=yDlg ;* set Y position of Popup

I'm sorry to say that I don't have a clue as to what "GetWindowRect" or "Rect" does or can I explain the rationale behind how "xDlg" or "yDlg" is derived. I just copied this and have been playing with it and see if I get lucky. Sofar, NO LUCK.

Can someone please explain or point me to where I should look. I'm sure that this is possible. I just need to be enlightened.

I am posting this on the otherside as well.

rayc@symmetryinfo.com onmouseover=window.status=imagine … ;return(true)"

Symmetry Info

Ray Chan ~ Symmetry Info


At 29 AUG 2000 10:07PM rayc@symmetryinfo.com wrote:

I solved this using the Sprezz documentation on Windows Structure and didn't use the other stuff I found in Popup_Month! The approach in Popup_Month might have been a better way, but I feel that I can at least control this until someone will explain what the Popup_Month code was doing .

I have one questions. When I look at the "X" and "Y" position, I typically see something like 586 (x) and 355 (y). Sometimes, however, I come across this situation which I don't understand X=180; Y=214:1. What is this 214:1??

Can anyone shed some light on this? Thanks,

rayc@symmetryinfo.com onmouseover=window.status=imagine … ;return(true)"

Symmetry Info

Ray Chan ~ Symmetry Info


At 30 AUG 2000 09:56AM WinWin/Revelation Technical Support wrote:

Any Y coordinate with a colon and number after it indicate the page number on a multi-page form.

Hope it helps-

Mike Ruane

View this thread on the Works forum...

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