::ShowExpandButton

This command will be used to show the expand button of the mdlTableForm widget.

Syntax

::model::mdlTableForm::ShowExpandButton frmPath

Application

MotionView Tcl

Description

This command will be used to show the expand button of the mdlTableForm widget.

Inputs

frmPath
The frame that contains the mdlTableForm widget that you are trying to show the expand button for.

Example

#Load the default Assembly wizard model (select all default options) from Assembly wizard and then load the “Static Load Analysis” (select all the default options) event from the Task wizard. Then get the handle of the TableForm entity as shown below.

::model::GetHandleFromFullVarname tblfrmhandle MODEL.an_static_ld_frnt.frm_event.subform___1_1

#Then pass the “tblfrmhandle” as the input to mdlTableForm.

 set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
set tableframe [::model::mdlTableForm $colFrm.tblfrm tblfrmhandle]
pack $tableframe
::model::mdlTableForm::ShowExpandButton $tableframe

Errors

On successful execution of the command, it will show the expand button.