::mdlForm

This command will be used to create a form widget and this will be attached to the form entity passed as an argument. This mdlForm widget is a “table”-like widget with its contents completely defined by the form entity defined in the MDL.

Syntax

::model::mdlForm frmPath entityHandle

Application

MotionView Tcl

Description

This command will be used to create a form widget and this will be attached to the form entity passed as an argument. This mdlForm widget is a “table”-like widget with its contents completely defined by the form entity defined in the MDL.

Inputs

frmPath
The frame on which the mdlForm widget will be created is passed as an argument.
entityHandle
We need to pass the handle of the form entity for which we need to display the form widget.

Example

# the gravity form is defined in the sys_misc system (defined in the standard include file)
set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
::model::GetHandleFromFullVarname  frmhandle MODEL.sys_misc.frm_gravity
set bsh_cb [::model::mdlForm $colFrm.cb frmhandle]
pack $bsh_cb
frmhandle ReleaseHandle

Errors

On successful execution of the command it will create the mdlForm widget.