{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#ALLOW_MOVE_X]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#ALLOW_MOVE_Y]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#GROW_HEIGHT]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#GROW_WIDTH]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#NO_SLIDING]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SHRINK_HEIGHT]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SHRINK_WIDTH]
Constant to be used when specifiying the print sliding for components.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=18D4E7C2-4481-4011-9E45-279BF09EBDE7}{tr:id=name}{td}h6.ALLOW_MOVE_X{td}{tr}{tr:id=des}{td}{sub-section:18D4E7C2-4481-4011-9E45-279BF09EBDE7_des|text=|trigger=button}{sub-section}{sub-section:18D4E7C2-4481-4011-9E45-279BF09EBDE7_des|trigger=none|class=sIndent}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientservoy sSummary12%30%58%height: 30px;3Constants SummaryConstant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.Constant to be used when specifiying the print sliding for components.constantservoy sDetail2100%height:30px2Constants DetailsALLOW_MOVE_Xname
ALLOW_MOVE_X
dessIndent
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.
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.
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.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_ret|text=|trigger=button}{sub-section}{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_see|text=|trigger=button}{sub-section}{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_see|text=|trigger=button}{sub-section}{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_sam|text=|trigger=button}{sub-section}{sub-section:83A4955E-971A-451E-BF2D-A2231CA16F0B_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', '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();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8465917F-F070-4C6C-83D0-AA65C44D7165}{tr:id=name}{td}h6.GROW_WIDTH{td}{tr}{tr:id=des}{td}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_des|text=|trigger=button}{sub-section}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowGROW_WIDTHname
GROW_WIDTH
dessIndent
Constant 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.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_ret|text=|trigger=button}{sub-section}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_see|text=|trigger=button}{sub-section}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_see|text=|trigger=button}{sub-section}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_sam|text=|trigger=button}{sub-section}{sub-section:8465917F-F070-4C6C-83D0-AA65C44D7165_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', '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';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DEDF18B6-8CC9-49DD-8FBC-852B83EA3343}{tr:id=name}{td}h6.NO_SLIDING{td}{tr}{tr:id=des}{td}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_des|text=|trigger=button}{sub-section}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowNO_SLIDINGname
NO_SLIDING
dessIndent
Constant 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.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_ret|text=|trigger=button}{sub-section}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_see|text=|trigger=button}{sub-section}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_see|text=|trigger=button}{sub-section}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_sam|text=|trigger=button}{sub-section}{sub-section:DEDF18B6-8CC9-49DD-8FBC-852B83EA3343_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var noSlidingLabel = form.newLabel('No sliding -- long text', 10, 10, 30, 20);
noSlidingLabel.printSliding = SM_PRINT_SLIDING.NO_SLIDING;
noSlidingLabel.background = 'red';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9F548409-9EBE-4CE9-B000-8A2932AAFE92}{tr:id=name}{td}h6.SHRINK_HEIGHT{td}{tr}{tr:id=des}{td}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_des|text=|trigger=button}{sub-section}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowSHRINK_HEIGHTname
SHRINK_HEIGHT
dessIndent
Constant 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.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_ret|text=|trigger=button}{sub-section}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_see|text=|trigger=button}{sub-section}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_see|text=|trigger=button}{sub-section}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_sam|text=|trigger=button}{sub-section}{sub-section:9F548409-9EBE-4CE9-B000-8A2932AAFE92_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var shrinkVertLabel = form.newLabel('Shrink vertical', 10, 110, 100, 40);
shrinkVertLabel.printSliding = SM_PRINT_SLIDING.SHRINK_HEIGHT;
shrinkVertLabel.background = 'yellow';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=22CB1F8E-9001-4F6B-9EE1-FB83921DD011}{tr:id=name}{td}h6.SHRINK_WIDTH{td}{tr}{tr:id=des}{td}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_des|text=|trigger=button}{sub-section}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowSHRINK_WIDTHname
SHRINK_WIDTH
dessIndent
Constant 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.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_ret|text=|trigger=button}{sub-section}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_see|text=|trigger=button}{sub-section}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_see|text=|trigger=button}{sub-section}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_sam|text=|trigger=button}{sub-section}{sub-section:22CB1F8E-9001-4F6B-9EE1-FB83921DD011_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var shrinkHorizLabel = form.newLabel('Short', 10, 50, 100, 20);
shrinkHorizLabel.printSliding = SM_PRINT_SLIDING.SHRINK_WIDTH;
shrinkHorizLabel.background = 'green';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}ret