D3D.Detach

Previous  Next

 

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

 


 

Detaches and closes an existing D3D control.

 

Example:

 

DIM nControl AS INTEGER

DIM hControl AS HANDLE

 

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

nControl = D3D.Attach( hControl )

D3D.Detach( nControl )