PML Customisation
User Guide
Gadget Set
: CONTAINER Gadget
CONTAINER Gadget
The Container gadget allows the hosting of an external Control, e.g. a PML.NET, control inside a PML defined form. It allows you to add an external .NET control, which may raise events that can be handled by PML. In order to customise 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 behaviour. 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 PML.NET are supported.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.