How to make a MultiPart StatusLine? (OpenInsight Specific)
At 29 AUG 2000 01:31:50PM 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.
rayc@symmetryinfo.com onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info
At 29 AUG 2000 01:37PM rayc@symmetryinfo.com wrote:
Sorry for the incorrect subject. The problem is "How to Position Popup Under Control". I won't repeat that here again. Please see other message. Again, sorry. Must be the "defective mouse" . Darn mouse! It clicked when it should have been resting.
At 29 AUG 2000 10:04PM rayc@symmetryinfo.com wrote:
To all,
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)"
Ray Chan ~ Symmetry Info
At 29 AUG 2000 10:22PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Glad the TB helped.
The :1 means the second page.
Starting with page 2, the Y pos values are suffixed with a :page-1.
World Leaders in all things RevSoft
At 30 AUG 2000 01:04AM rayc@symmetryinfo.com wrote:
Mr. Sprezz:
Glad the TB helped
The TB on Window Structure is an indispensable piece of documentation. No Doubt, it has helped me. When I first got it (over a year ago), I thought it was niffty, but didn't have a clue as to how to use it. Now that we started our conversion, I'm glad I got it especially in view of the existing support situtation at RevSoft and the lack of good, detail, accurate written documentation about the Form in OpenInsight and how to access and control the Form to your advantage.
In all sincerity, I hope that Sprezz will continue to produce such other documentation. In the interest of promoting development in OI, I believe that the TB should be in the reference library of every OI developers. If you're a developer and don't have it get it. You won't regret it! And it's "cheap"!
Enough said. BTW thanks for your response.
rayc@symmetryinfo.com onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info