An explanation of the Grid Control for Axiom.
Grid

The Grid control functions as a container for other controls. Controls are added left to right in a row. By selecting the controls in the first row and then using Ctrl+v to copy the controls to new rows a table of controls can be built with row stripping to aid in reading.
In the view below a symbol, label and value box were added to the top row and then copied. A scroll bar will appear if there are more rows than fit the grid.
Name - The name used by the application and script to reference this control.
X - Number of pixels from the left edge of the containing panel or screen.
Y - Number of pixels from the top edge of the containing panel or screen.
Width - Width of the control in pixels.
Height - Height of the control in pixels.
Columns - A column is required for each control across a row.
ColumnWidths - Column Widths... displays a dialog for setting column widths. By default they are set to Auto which will divide the the grid evenly. The values for each column are a percentage of the grid width.
Visible - Unchecking this will hide the control. A script would be required to toggle the visibility during runtime.
OnClick - An event that occurs when the control is clicked. Clicking "<>" Creates a "Grid1_Click()" script stub for this control and opens the script editor to add event scripting. Clicking the trash can will delete only the reference to the script, not the script.
Comments
0 comments
Article is closed for comments.