Which command would you use to set five columns to have the same column width

All of the group commands position their individual controls in columns starting at column 1. The layout of each control (ie. column) can be customized using the -cw/columnWidth, -co/columnOffset, -cat/columnAttach, -cal/columnAlign, and -adj/adjustableColumn flags. By default, columns are left aligned with no offset and are 100 pixels wide. Only one column in any group can be adjustable.

This command creates a pre-packaged collection of label text and editable text field. The label text is optional.

stringFull path name to the control.

In query mode, return type is based on queried flag.

adjustableColumn

adjustableColumn2

adjustableColumn3

adjustableColumn4

adjustableColumn5

adjustableColumn6

annotation

backgroundColor

changeCommand

columnAlign

columnAlign2

columnAlign3

columnAlign4

columnAlign5

columnAlign6

columnAttach

columnAttach2

columnAttach3

columnAttach4

columnAttach5

columnAttach6

columnOffset2

columnOffset3

columnOffset4

columnOffset5

columnOffset6

columnWidth

columnWidth1

columnWidth2

columnWidth3

columnWidth4

columnWidth5

columnWidth6

defineTemplate

docTag

dragCallback

dropCallback

editable

enable

exists

fileName

forceChangeCommand

height

insertText

insertionPosition

isObscured

label

manage

numberOfPopupMenus

parent

popupMenuArray

preventOverride

rowAttach

text

useTemplate

visible

width

Long name (short name)Argument typesProperties-exists(-ex)Returns true|false depending upon whether the specified object exists. Other flags are ignored.-defineTemplate(-dt)stringPuts a command in a mode where any other flags and args are parsed and added to the command template specified in the argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set as the current template.-useTemplate(-ut)stringForce the command to use a command template other than the current one.-parent(-p)stringThe parent layout for this control.-enable(-en)booleanThe enable state of the control. By default, this flag is set to true and the control is enabled. Specify false and the control will appear dimmed or greyed-out indicating it is disabled.-width(-w)-defineTemplate(-dt)0The width of the control. The control will attempt to be this size if it is not overruled by parent layout conditions.-defineTemplate(-dt)1-defineTemplate(-dt)0The height of the control. The control will attempt to be this size if it is not overruled by parent layout conditions.-defineTemplate(-dt)3booleanThe visible state of the control. A control is created visible by default. Note that a control's actual appearance is also dependent on the visible state of its parent layout(s).-defineTemplate(-dt)5Return whether the control can actually be seen by the user. The control will be obscured if its state is invisible, if it is blocked (entirely or partially) by some other control, if it or a parent layout is unmanaged, or if the control's window is invisible or iconified.-defineTemplate(-dt)6booleanManage state of the control. An unmanaged control is not visible, nor does it take up any screen real estate. All controls are created managed by default.-defineTemplate(-dt)8Return the number of popup menus attached to this control.-defineTemplate(-dt)9Return the names of all the popup menus attached to this control.string0booleanIf true, this flag disallows overriding the control's attribute via the control's right mouse button menu.string2stringAnnotate the control with an extra string value.string4string5The background color of the control. The arguments correspond to the red, green, and blue color components. Each component ranges in value from 0.0 to 1.0. (Windows only flag)string6stringAdd a documentation flag to the control. The documentation flag has a directory structure like hierarchy. Eg. -dt render/multiLister/createNode/materialstring8string9Adds a callback that is called when the middle mouse button is pressed. The MEL version of the callback is of the form:

global proc string[] callbackName(string $dragControl, int $x, int $y, int $mods)

The proc returns a string array that is transferred to the drop site. By convention the first string in the array describes the user settable message type. Controls that are application defined drag sources may ignore the callback. $mods allows testing for the key modifiers CTL and SHIFT. Possible values are 0 == No modifiers, 1 == SHIFT, 2 == CTL, 3 == CTL + SHIFT.

In Python, it is similar, but there are two ways to specify the callback. The recommended way is to pass a Python function object as the argument. In that case, the Python callback should have the form:

def callbackName( dragControl, x, y, modifiers ):

The values of these arguments are the same as those for the MEL version above.

The other way to specify the callback in Python is to specify a string to be executed. In that case, the string will have the values substituted into it via the standard Python format operator. The format values are passed in a dictionary with the keys "dragControl", "x", "y", "modifiers". The "dragControl" value is a string and the other values are integers (eg the callback string could be "print '%(dragControl)s %(x)d %(y)d %(modifiers)d'")

-useTemplate(-ut)0string9Adds a callback that is called when a drag and drop operation is released above the drop site. The MEL version of the callback is of the form:

global proc callbackName(string $dragControl, string $dropControl, string $msgs[], int $x, int $y, int $type)

The proc receives a string array that is transferred from the drag source. The first string in the msgs array describes the user defined message type. Controls that are application defined drop sites may ignore the callback. $type can have values of 1 == Move, 2 == Copy, 3 == Link.

In Python, it is similar, but there are two ways to specify the callback. The recommended way is to pass a Python function object as the argument. In that case, the Python callback should have the form:

def pythonDropTest( dragControl, dropControl, messages, x, y, dragType ):

The values of these arguments are the same as those for the MEL version above.

The other way to specify the callback in Python is to specify a string to be executed. In that case, the string will have the values substituted into it via the standard Python format operator. The format values are passed in a dictionary with the keys "dragControl", "dropControl", "messages", "x", "y", "type". The "dragControl" value is a string and the other values are integers (eg the callback string could be "print '%(dragControl)s %(dropControl)s %(messages)r %(x)d %(y)d %(type)d'")

-useTemplate(-ut)2-useTemplate(-ut)3Arguments are : column number, column width. Sets the width of the specified column where the first parameter specifies the column (1 based index) and the second parameter specifies the width.-useTemplate(-ut)4-defineTemplate(-dt)0Sets the width of the first column. Ignored if there is not exactly one column.-useTemplate(-ut)6-useTemplate(-ut)3Sets the column widths of both columns. Ignored if there is not exactly two columns.-useTemplate(-ut)8-useTemplate(-ut)9Sets the column widths for all 3 columns. Ignored if there is not exactly 3 columns.string0string1Sets the column widths for all 4 columns. Ignored if there is not exactly 4 columns.string2string3Sets the column widths for all 5 columns. Ignored if there is not exactly 5 columns.string4string5Sets the column widths for all 6 columns. Ignored if there is not exactly 6 columns.string6string7Arguments are : column number, attachment type, and offset. Possible attachments are: left | right | both. Specifies column attachment types and offets.string8string9Sets the attachment type of both columns. Ignored if there is not exactly two columns. Valid values are "left", "right", and "both".-parent(-p)0-parent(-p)1Sets the attachment type for all 3 columns. Ignored if there is not exactly 3 columns. Valid values are "left", "right", and "both".-parent(-p)2-parent(-p)3Sets the attachment type for all 4 columns. Ignored if there is not exactly 4 columns. Valid values are "left", "right", and "both".-parent(-p)4-parent(-p)5Sets the attachment type for all 5 columns. Ignored if there is not exactly 5 columns. Valid values are "left", "right", and "both".-parent(-p)6-parent(-p)7Sets the attachment type for all 6 columns. Ignored if there is not exactly 6 columns. Valid values are "left", "right", and "both".-parent(-p)8-useTemplate(-ut)3This flag is used in conjunction with the -columnAttach2 flag. If that flag is not used then this flag will be ignored. It sets the offset for the two columns. The offsets applied are based on the attachments specified with the -columnAttach2 flag. Ignored if there is not exactly two columns.string0-useTemplate(-ut)9This flag is used in conjunction with the -columnAttach3 flag. If that flag is not used then this flag will be ignored. It sets the offset for the three columns. The offsets applied are based on the attachments specified with the -columnAttach3 flag. Ignored if there is not exactly three columns.string2string1This flag is used in conjunction with the -columnAttach4 flag. If that flag is not used then this flag will be ignored. It sets the offset for the four columns. The offsets applied are based on the attachments specified with the -columnAttach4 flag. Ignored if there is not exactly four columns.string4string3This flag is used in conjunction with the -columnAttach5 flag. If that flag is not used then this flag will be ignored. It sets the offset for the five columns. The offsets applied are based on the attachments specified with the -columnAttach5 flag. Ignored if there is not exactly five columns.string6string5This flag is used in conjunction with the -columnAttach6 flag. If that flag is not used then this flag will be ignored. It sets the offset for the six columns. The offsets applied are based on the attachments specified with the -columnAttach6 flag. Ignored if there is not exactly six columns.string8string7Arguments are : column, attachment type, offset. Possible attachments are: top | bottom | both. Specifies attachment types and offsets for the entire row.-enable(-en)0-enable(-en)1Arguments are : column number, alignment type. Possible alignments are: left | right | center. Specifies alignment type for the specified column.-enable(-en)2string9Sets the text alignment of both columns. Ignored if there is not exactly two columns. Valid values are "left", "right", and "center".-enable(-en)4-parent(-p)1Sets the text alignment for all 3 columns. Ignored if there is not exactly 3 columns. Valid values are "left", "right", and "center".-enable(-en)6-parent(-p)3Sets the text alignment for all 4 columns. Ignored if there is not exactly 4 columns. Valid values are "left", "right", and "center".-enable(-en)8-parent(-p)5Sets the text alignment for all 5 columns. Ignored if there is not exactly 5 columns. Valid values are "left", "right", and "center".boolean0-parent(-p)7Sets the text alignment for all 6 columns. Ignored if there is not exactly 6 columns. Valid values are "left", "right", and "center".boolean2-defineTemplate(-dt)0Specifies which column has an adjustable size that changes with the sizing of the layout. The column value is a 1-based index. You may also specify 0 to turn off the previous adjustable column.boolean4-defineTemplate(-dt)0Specifies which column has an adjustable size that changes with the size of the parent layout. Ignored if there is not exactly two columns.boolean6-defineTemplate(-dt)0Specifies that the column has an adjustable size that changes with the size of the parent layout. Ignored if there is not exactly three columns.boolean8-defineTemplate(-dt)0Specifies which column has an adjustable size that changes with the size of the parent layout. Ignored if there is not exactly four columns.-width(-w)0-defineTemplate(-dt)0Specifies which column has an adjustable size that changes with the size of the parent layout. Ignored if there is not exactly five columns.-width(-w)2-defineTemplate(-dt)0Specifies which column has an adjustable size that changes with the size of the parent layout. Ignored if there is not exactly six columns.-width(-w)4stringLabel text for the group.-width(-w)6string-width(-w)8stringText in the field as a filename. This does conversions between internal and external (UI) file representation.-defineTemplate(-dt)00stringInsert text into the field at the current insertion position (specified by the -ip/insertionPosition flag).-defineTemplate(-dt)02-defineTemplate(-dt)0The insertion position for inserted text. This is a 1 based value where position 1 specifies the beginning of the field. Position 0 may be used to specify the end of the field.-defineTemplate(-dt)04If used together with -text or -inserText flag, change command will be executed after text modification.-defineTemplate(-dt)05booleanThe edit state of the field. By default, this flag is set to true and the field value may be changed by typing into it. If false then the field is 'read only' and can not be typed into. The text in the field can always be changed with the -tx/text flag regardless of the state of the -ed/editable flag.-defineTemplate(-dt)07string9Command executed when the field text changes.

Flag can appear in Create mode of commandFlag can appear in Edit mode of commandFlag can appear in Query mode of commandFlag can be used more than once in a command.

window; columnLayout; textFieldGrp -label "Group 1" -text "Editable"; textFieldGrp -label "Group 2" -text "Non-editable" -editable false; showWindow;

Which command would you use to set 5 columns to have the same column width?

Simply select the columns you want to AutoFit, then select the AutoFit Column Width command from the Format drop-down menu on the Home tab. This method can also be used for row height.

Which dialog box is used to set an exact width for the table?

Table Properties Dialog Box. Use this dialog box to make changes to table display, cell, row, and column settings. The Table Properties dialog box contains the following options: Size — Sets the width of the overall table as displayed in the Edit window.

What is the quickest method to insert a row between the title row and the column headings row?

What is the quickest method to insert a row between the title row and the column headings row? Click the + symbol that appears when you position the cursor between two rows.

Which command would you use to evenly distribute your table within the margins of the page?

To distribute objects evenly:.
Hold the Shift (or Ctrl) key and click the objects you want to distribute..
On the Format tab, click the Align command, then select Distribute Horizontally or Distribute Vertically..
The objects will be evenly spaced from one another..