| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Defines the usable display area inside the current window.
WFormat( [<nTopMargin>] , ;
[<nLeftMargin>] , ;
[<nBottomMargin>], ;
[<nRightMargin>] ) --> nWindowID
The function restricts the usable area for display inside a window to the area inside the window coordinates plus margins defined. Calling the function without parameters resets all margins to zero. WFormat() returns the ID of the current window as a numeric value.
Note: function WBox() calls WFormat( 1, 1, 1, 1 ) so that the frame displayed by WBox() cannot be overwritten.
| See also: | WBox(), WSelect() |
| Category: | CT:Window , Windows (text mode) |
| Source: | ct\ctwin.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com