Re: xControls (Don!)
Don wrote:
>
> > -- I modified the geometry example to show what I mean:
> > -- why doesn't it take the statusbar into account?
> > -- i looked at the code and it seems to be using
> > -- getClientRect(), which is the right rect, right?! :)
>
> GetClientRect itself does not take into account controls in the client
> area;
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.
-=ck
"Programming in a state of EUPHORIA."
|
Not Categorized, Please Help
|
|