[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  oWin:nWidth( [<nNewWidth>] ) -> <nWndWidth>

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

 PARAMETER:

  <nNewWidth>  If this integer is handed over it becomes the new window 
               height, measured in pixel


 DESCRIPTION:

  ::nWidth() is a SETGET Method, which means that it simulates a 
  InstanceVar. If a parameter is extended, then the old Width is overwritten
  and the window gets repainted. If the parameter is skipped, nWidth 
  just returns the windows current Width in pixels

  EXAMPLE:

     +-------------------------------------------------------------+
     |  /* display the Width */                                    |
     |  MsgInfo( oWin:nWidth )                                     |
     |                                                             |
     |  /* assign a new Width */                                   |
     |  oWin:nWidth := 300                                         |
     |                                                             |
     +-------------------------------------------------------------+

 !seealso:"nHeight" "Move" "nHorzRes"


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson