Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

CONTAINER Gadget

  • Last UpdatedFeb 08, 2023
  • 1 minute read

The Container gadget allows the hosting of an external Control, for example, a PMLNet, control inside a PML defined form. It allows the user to add an external .Net control, which may raise events that can be handled by PML. In order to customize the context menus of the .Net control, the Container may have a PML popup menu assigned to it. This is shown when the .Net control raises a 'popup' event.

A CONTAINER gadget can be created by

container .NET indent PMLNETControl dock fill

The following section contains the PML code for an example form !!MyNetForm.

By default the Container will be will have a drawn surrounding box, but you can select NOBOX or INDENT which produces a 3-D indented surround.

The Dock and Anchor attributes are supported to allow intelligent resize behavior. The enclosed Control must support resizing and is usually set as Dock fill, so that it follows size changes of the Container.

The following restrictions apply:

  • Tagtext can be specified but is never displayed.

  • Positioning must be specified before size (<vshape>).

  • Currently only Controls of type PMLNet are supported.

TitleResults for “How to create a CRG?”Also Available in