GRID.Close |
nStatus = GRID.Close( BYVAL nControl AS INTEGER, [BYVAL rWaitSeconds AS REAL=0] ) AS INTEGER
Close a control window. If rWaitSeconds is set the function will wait for the window to be closed by user interaction for the specified amount of time. Set the rWaitSeconds to INFINITE to disable timed out close.
Note; A Grid window must be closed using the GRID.Close statement regardless of if the user closes the window.
Example:
DIM nControl AS INTEGER nControl = GRID.Create( "Graph", WS_VISIBLE, 0, 0, 320, 240, NULL, 1 ) GRID.Close( nControl )
|