View Revisions: Issue #117
| Summary | 0000117: add dynamic control directive | ||
|---|---|---|---|
| Revision | 2018-03-29 15:32 by mtruesdell | ||
| Description | Add dynamic controls to LB windows such that they can be added using less math on the human side. They will be added from left to right defined by the number of columns. At the end of the column it will advance the row automatically and start back at the first column. They can be mixed with regular LB control definitions. Example code: ' begin dynamic control init '\ #dynamicc# "x:5" /command/ '\ #dynamicc# "y:5" /command/ '\ #dynamicc# "totalWidth:500" /command/ '\ #dynamicc# "columns:5" /command/ '\ #dynamicc# "rowHeight:50" /command/ '\ #dynamicc# "spacingRatio:0.2" /command/ '\ #dynamicc# "textbox #rlr.1" '\ #dynamicc# "textbox #rlr.2" '\ #dynamicc# "crlf" /command/ '\ #dynamicc# "crlf" /command/ '\ #dynamicc# "textbox #rlr.3" '\ #dynamicc# "textbox #rlr.4" '\ #dynamicc# "textbox #rlr.5" '\ #dynamicc# "textbox #rlr.6" |
||
| Revision | 2018-03-29 15:30 by mtruesdell | ||
| Description | Add dynamic controls such that they can be added using less math on the human side. They will be added from left to right defined by the number of columns. At the end of the column it will advance the row automatically and start back at the first column. They can be mixed with regular LB control definitions. Example code: ' begin dynamic control init '\ #dynamicc# "x:5" /command/ '\ #dynamicc# "y:5" /command/ '\ #dynamicc# "totalWidth:500" /command/ '\ #dynamicc# "columns:5" /command/ '\ #dynamicc# "rowHeight:50" /command/ '\ #dynamicc# "spacingRatio:0.2" /command/ '\ #dynamicc# "textbox #rlr.1" '\ #dynamicc# "textbox #rlr.2" '\ #dynamicc# "crlf" /command/ '\ #dynamicc# "crlf" /command/ '\ #dynamicc# "textbox #rlr.3" '\ #dynamicc# "textbox #rlr.4" '\ #dynamicc# "textbox #rlr.5" '\ #dynamicc# "textbox #rlr.6" |
||