[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetWndDefault( <oWin > ) -> <nil>
------------------------------------------------------------------------------
PARAMETER:
<oWin> window object that will be the choosen one
DESCRIPTION:
You can store your window object as the default window with this function.
Normally you will do this with a file wide static var 'oWnd' or so.
SetWndDefault() and GetWndDefault() offer you a SETGET way
to do this, with the big advantage that you can access this window object
from other .prg files also :
+-------------------------------------------------------------+
| /* setGet the window */ |
| DEFINE WINDOW oWin FROM ... |
| SetWndDefault( oWin ) |
| [ ... ] |
| RETURN .. |
| |
| FUNCTION WhatSoEver() |
| LOCAL ; |
| oWin := GetWndDefault() |
| |
+-------------------------------------------------------------+
See Also:
GetWndDefault
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson