[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  oWin:GetCliRect() -> <oTRect>

------------------------------------------------------------------------------


 DESCRIPTION:

  The ::GetCliRect() method will return a TRect object which contains
  the coordinates describing the rectangle client area of the window. Since 
  client rectangle coordinates are relative to the window they will start 
  in the upper left corner of the window with 0,0. The <nBottom>,<nRight>
  pair will give the height and the width of the client rectangle. 
  All coordinates are in pixels.

 EXAMPLE:

     +-------------------------------------------------------------+
     |  /* Get Parent Window Position */                           |
     |  oRect := oWin:GetCliRect()                                 |
     |  oRect:nTop +=  48                                          |
     |  oRect:nLeft += 120                                         |
     +-------------------------------------------------------------+


See Also: TRECT GetClientRect GetRect SetCoors
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson