Page History
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
...
Table Cell (td) |
---|
Number |
...
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
...
id | description |
---|
...
| |||||||||||||
...
Table Cell (td) |
---|
Number |
...
Table Cell (td) |
---|
Number |
...
...
...
Table Cell (td) |
---|
Number |
...
...
Table Cell (td) |
---|
Number |
...
...
Table Cell (td) |
---|
Number |
...
...
Table Cell (td) |
---|
Number |
...
...
...
...
...
padding | 0px |
---|---|
width | 100% |
...
...
colspan | 1 |
---|
...
...
...
...
ALLOW_MOVE_X |
...
...
...
Constant to be used when specifiying the print sliding for components. |
...
The component will move horizontally to align with its left neighbor, |
...
if that left neighbor moves or increases/decreases its size. |
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var growHorizLabel = form.newLabel('Grow horizontal -- long text', 10, 30, 30, 20);
growHorizLabel.printSliding = SM_PRINT_SLIDING.GROW_WIDTH;
growHorizLabel.background = 'blue';
var moveHorizRightLabel = form.newLabel('Move horizontal right', 50, 30, 100, 20);
moveHorizRightLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_X;
moveHorizRightLabel.background = 'pink';
var shrinkHorizLabel = form.newLabel('Short', 10, 50, 100, 20);
shrinkHorizLabel.printSliding = SM_PRINT_SLIDING.SHRINK_WIDTH;
shrinkHorizLabel.background = 'green';
var moveHorizLeftLabel = form.newLabel('Move horizontal left', 100, 50, 150, 20);
moveHorizLeftLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_X;
moveHorizLeftLabel.background = 'magenta';
forms['printForm'].controller.showPrintPreview(); |
...
...
ALLOW_MOVE_Y |
...
...
Constant to be used when specifiying the print sliding for components. |
...
The component will move vertically to align with its top neighbor, |
...
if that neighbor moves or increases/decreases its size. |
...
...
Returns |
...
...
Supported Clients |
...
...
class | lastDetailRow |
---|
...
id | GROW_HEIGHT |
---|
...
id | name |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var growVertLabel = form.newLabel('Grow vertical', 10, 70, 100, 5);
growVertLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT;
growVertLabel.background = 'orange';
var moveVertDownLabel = form.newLabel('Move vertical down', 10, 75, 100, 20);
moveVertDownLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_Y;
moveVertDownLabel.background = 'cyan';
var shrinkVertLabel = form.newLabel('Shrink vertical', 10, 110, 100, 40);
shrinkVertLabel.printSliding = SM_PRINT_SLIDING.SHRINK_HEIGHT;
shrinkVertLabel.background = 'yellow';
var moveVertUpLabel = form.newLabel('Move vertical up', 10, 160, 100, 20);
moveVertUpLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_Y;
moveVertUpLabel.background = 'purple';
forms['printForm'].controller.showPrintPreview(); |
...
GROW_HEIGHT |
...
...
Constant to be used when specifiying the print sliding for components. |
...
The component will increase its height to adapt its content, if |
...
the content is too large. |
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
id | GROW_WIDTH |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | NO_SLIDING |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | SHRINK_HEIGHT |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | SHRINK_WIDTH |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var growVertLabel = form.newLabel('Grow vertical', 10, 70, 100, 5);
growVertLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT;
growVertLabel.background = 'orange';
forms['printForm'].controller.showPrintPreview(); |
GROW_WIDTHConstant to be used when specifiying the print sliding for components.
The component will increase its width to adapt its content, if the
content is too large. Returns Supported Clients Sample NO_SLIDINGConstant to be used when specifiying the print sliding for components.
Makes the component not slide during printing. The component will
maintain its designtime location and size. Returns Supported Clients Sample SHRINK_HEIGHTConstant to be used when specifiying the print sliding for components.
The component will decrease its height to adapt its content, if
the content is too small. Returns Supported Clients Sample SHRINK_WIDTHConstant to be used when specifiying the print sliding for components.
The component will decrease its width to adapt its content, if the
content is too small. Returns Supported Clients Sample |
Overview
Content Tools
Activity