Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
DestroyDetermines whether or not the form should be automatically destroyed upon removal (OI 9 only)

Remarks

The RemoveForm method removes a form that was embedded using the SetForm method. The Destory Destroy parameter determines what is done with the form after removal. If set to true, then the form is immediately destroyed in the same way as if you were to call End_Window. If set to false, then the form is returned to a stand-alone OI form and is not longer embedded in the window. This parameter should not be used in OI 10, for it fails to execute OI 10 CLOSE logic.

Always call this before call SetForm if you are swapping forms in the SRP Panel Control.

...