GRID.Detach

Previous  Next

 

nStatus = GRID.Detach( BYVAL nControl AS INTEGER ) AS INTEGER

 

 

 

 

Detaches and closes an existing Grid control.

 

Example:

 

DIM nControl AS INTEGER

DIM hControl AS HANDLE

 

hControl = ENVIRONMENT( "MAXA$CONTROL_1.HANDLE" )

nControl = GRID.Attach( hControl )

GRID.Detach( nControl )