Re: xControls (Don!)
- Posted by cklester <cklester at yahoo.com> Jul 07, 2004
- 476 views
Don wrote: > > > I don't think that's true for v0.60.1... from the docs: > > > > [func] > > getClientRect ( integer ControlId ) > > Get uncovered portion of the client area. > > Returns: { left, top, width, height, bottom, right } > > Category: Attributes > > > > Unlike the menu, toolbar and statusbar both occupy space > > in the window. To determine what part of the window's client > > area is not covered, use this function. > > Hmm, I dont have 0.60.1. Im using just a slightly older version. > Of course the older version says the exact same thing. I looked > at the code and it *seems* like it should be working. Yes, getClientRect() works properly for me in other instances. > Since you posted to the board asking the quesion I > am assuming the same thing happened for your version also =) xControls does not seem to consider the statusbar, despite using getClientRect() to determine sizes/positions... I'm having a closer look and I'll see what I can find... :) -=ck "Programming in a state of EUPHORIA."