::HideExpandButton
This command will be used to hide the expand button of the mdlTableForm.
Syntax
::model::mdlTableForm::HideExpandButton frmPath
Application
MotionView Tcl
Description
This command will be used to hide the expand button of the mdlTableForm.
Inputs
- frmPath
- The frame that contains the mdlTableForm widget that you are trying to hide 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” 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::HideExpandButton $tableframe
Errors
On successful execution of the command, it will hide the expand button.