How to make a MultiPart StatusLine? (OpenInsight Specific)
At 29 AUG 2000 01:30:14PM 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