Child Modules

Other modules can be nested inside Screenbar panels by using the 'module' element type. Screenbar loads the module, then uses bang commands and configuration variables to position and control it.

Since child modules are loaded by Screenbar itself, you should not use *NetLoadModule to load the module as you normally would. Instead, you can use *NetInstallModule, which verifies that the module is present and ready to be loaded, but doesn't actually load it.

Child module elements inherit common layout options and positionable element options.
(prefix)DLL [string]
The DLL which corresponding to the module. This should be an absolute path, so include $ModulesDir$ in the definition.
(prefix)Singleton [bool]
Default: true
If set, only one instance of this module can be used, even if it appears in the layout more than once or if the layout is used for more than one panel.
(prefix)Prefix [string]
Default: ""
The prefix which this module's configuration variables and bang commands start with. This is used only to fill in the defaults for the module's variable names and bang commands.
(prefix)VarX [string]
(prefix)VarY [string]
(prefix)VarWidth [string]
(prefix)VarHeight [string]
Default: ""
The names of the variables that control the module's placement and size. By default, these are created by appending X, Y, Width, and Height to the module prefix.
(prefix)MoveCommand [command]
(prefix)ResizeCommand [command]
Default: ""
The names of bang commands that move and resize the module. The new position or size is appended to the command when it is run. By default, these are created by appending Move and Resize to the module prefix. If the move command is incorrectly set or doesn't work, the module will start in the right place but will not be able to move in response to changes in the layout. If the resize command is incorrectly set or doesn't work, the module will be limited to a fixed size.
(prefix)ResizedEvent [command]
Default: ""
The name of a bang command which Screenbar will register and which the child module will execute to indicate that it has resized itself, passing the new size as parameters.