Child pages
  • ANCHOR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{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:id=|class=servoy sSummery}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants SummarySummery{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#ALL]
Constant
to be used when specifying anchoring for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#DEFAULT]
Constant to be used when
specifying anchoring for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#EAST]
Constant to be used when specifying anchoring for components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#NORTH]
Constant to be used when specifying anchoring for components.{td}{{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SOUTH]
Constant to be used when specifying anchoring for
components.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#WEST]
Constant to be used
when specifying anchoring for components.{td}{tr}{tbody}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=7CDB571B-2605-4BD8-98B9-24A30E5E5027=ALL|class=node}{tr:id=name}{td}h6.ALL{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_des|text=|trigger=button}{sub-section}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_des|trigger=none|class=sIndent}ConstantReplace to be used when specifying anchoring for components.
Makes the component anchored on all sides. This means that
the component will keep a constant distance from all sides
of the window and will grow/shrink as the window is resized.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:ALL_snc|text=|trigger=button}{sub-section}{sub-section:ALL_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027_prsALL_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_prs|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_ret|text=|trigger=button}{sub-section}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_see|class=sIndent|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027_seeALL_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_link|class=sIndent|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sam}{td}*Sample*\\{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027_sam|textALL_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7CDB571B-2605-4BD8-98B9-24A30E5E5027ALL_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var strechAllDirectionsLabel = form.newLabel('Strech all directions', 10, 10, 380, 280);
strechAllDirectionsLabel.background = 'red';
strechAllDirectionsLabel.anchors = SM_ANCHOR.ALL;
{code}{sub}{sub-section}{div}{td}{tr}{builder-show}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DEFAULT|class=node}{tr:id=name}{td}h6.DEFAULT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:DEFAULT_des|text=|trigger=button}{sub-section}{sub-section:DEFAULT_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{tr:class=lastDetailRow}{tdbuilder-show}{builder-show:permission=edit}{tr:id=snc}{td}{tr}{tbody}{tbody:id=ECB46727-BD9A-4424-8331-6929FE57AB42}{tr:id=name}{td}h6.DEFAULT{td}{tr}{tr:id=des}{td}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42_des*Since*\\{sub-section:DEFAULT_snc|text=|trigger=button}{sub-section}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42_des|DEFAULT_snc|trigger=none|class=sIndent}Constant toReplace bewith used when specifying anchoring for components.
It is equivalent to a combination of NORTH and WEST anchoring.version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42sub-section:DEFAULT_prs|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_ret|text=|trigger=button}{sub-section}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42_see|class=sIndent|DEFAULT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42_seeDEFAULT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_link|class=sIndent|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sam}{td}*Sample*\\{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ECB46727-BD9A-4424-8331-6929FE57AB42DEFAULT_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var stickToTopLeftCornerLabel = form.newLabel('Stick to top-left corner', 10, 10, 200, 100);
stickToTopLeftCornerLabel.background = 'orange';
stickToTopLeftCornerLabel.anchors = SM_ANCHOR.DEFAULT;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{sub-section}{div}{td}{tr}{builder-show}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=EAST|class=node}{tr:id=name}{td}h6.EAST{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:EAST_des|text=|trigger=button}{sub-section}{sub-section:EAST_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{tbodybuilder-show}{tbodybuilder-show:id=F75B9655-3B9C-4C7B-A965-5816307B9BD8permission=edit}{tr:id=namesnc}{td}h6.EAST{td}{tr}{tr:id=des}{td}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_des*Since*\\{sub-section:EAST_snc|text=|trigger=button}{sub-section}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_desEAST_snc|trigger=none|class=sIndent}Constant toReplace bewith used when specifying anchoring for components.
Makes the component anchored to the right side of the window,
which means that the component will keep a constant distance
from the right side of the window. If WEST anchoring is also 
enabled, then the component will grow/shrink as the window 
is horizontally resized.

This constant is used also for setting tab orientation on tab panels.{sub-version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:EAST_prs|text=|trigger=button}{sub-section}{sub-section:EAST_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_prsEAST_ret|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_prsEAST_ret|trigger=none|class=sIndent}[Number]{sub-section}{div}{td}{tr}{builder-show:permission=edit}{tr:id=retsee}{td}*ReturnsAlso see*\\{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_retEAST_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_retEAST_see|trigger=none|class=sIndent}[Number]{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=seelink}{td}*AlsoExternal seelinks*\\{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_seeEAST_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_see|class=sIndent|EAST_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linksam}{td}*External linksSample*\\{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_seeEAST_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_link|class=sIndent|EAST_sam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=samclass=lastDetailRow}{td}{td}*Sample*\\{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_sam}{tr}{tbody}{tbody:id=NORTH|class=node}{tr:id=name}{td}h6.NORTH{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:NORTH_des|text=|trigger=button}{sub-section}{sub-section:F75B9655-3B9C-4C7B-A965-5816307B9BD8_samNORTH_des|trigger=none|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var strechHorizontallyLabel = form.newLabel('Strech horizontally', 10, 10, 380, 140);
strechHorizontallyLabel.background = 'blue';
strechHorizontallyLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST | SM_ANCHOR.EAST;
var stickToBottomRightCornerLabel = form.newLabel('Stick to bottom-right corner', 190, 190, 200, 100);
stickToBottomRightCornerLabel.background = 'pink';
stickToBottomRightCornerLabel.anchors = SM_ANCHOR.SOUTH | SM_ANCHOR.EAST;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A20DA152-640C-4D55-8DE8-D6B8F03698A6}{tr:id=name}{td}h6.NORTH{td}{tr}{tr:id=des}{td}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_des}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:NORTH_snc|text=|trigger=button}{sub-section}{sub-section:NORTH_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:NORTH_prs|text=|trigger=button}{sub-section}{sub-section:NORTH_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:NORTH_ret|text=|trigger=button}{sub-section}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_desNORTH_ret|trigger=none|class=sIndent}Constant to be used when specifying anchoring for components.
Makes the component anchored to the top side of the window,
which means that the component will keep a constant distance
from the top side of the window. If SOUTH anchoring is also 
enabled, then the component will grow/shrink as the window 
is vertically resized.

This constant is used also for setting tab orientation on tab panels.{sub-section}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:NORTH_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NORTH_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:NORTH_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NORTH_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prssam}{td}*ParametersSample*\\{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_prsNORTH_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_prsNORTH_sam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=retclass=lastDetailRow}{td}{td}*Returns*\\{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_ret|text=|trigger=button}{sub-section}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_ret|trigger=none|class=sIndent}[Number]{sub-section}{tr}{tbody}{tbody:id=SOUTH|class=node}{tr:id=name}{td}h6.SOUTH{td}{tr}{builder-show:permission=edit}{tr:id=seedes}{td}*Also see*\\{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_seeSOUTH_des|text=|trigger=button}{sub-section}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_seeSOUTH_des|trigger=none|class=sIndent|trigger=none}}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linksnc}{td}*External linksSince*\\{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_seeSOUTH_snc|text=|trigger=button}{sub-section}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_linkSOUTH_snc|trigger=none|class=sIndent|trigger=none}} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=samprs}{td}*SampleParameters*\\{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_samSOUTH_prs|text=|trigger=button}{sub-section}{sub-section:A20DA152-640C-4D55-8DE8-D6B8F03698A6_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var strechVerticallyLabel = form.newLabel('Strech vertically', 10, 10, 190, 280);
strechVerticallyLabel.background = 'green';
strechVerticallyLabel.anchors = SM_ANCHOR.WEST | SM_ANCHOR.NORTH | SM_ANCHOR.SOUTH;
var stickToTopLeftCornerLabel = form.newLabel('Stick to top-left corner', 10, 10, 200, 100);
stickToTopLeftCornerLabel.background = 'orange';
stickToTopLeftCornerLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST;
{codeSOUTH_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SOUTH_ret|text=|trigger=button}{sub-section}{sub-section:SOUTH_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SOUTH_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SOUTH_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SOUTH_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SOUTH_link|trigger=none}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{tdbuilder-show}{builder-show:permission=edit}{tr:id=sam}{td}{tr}{tbody}{tbody:id=B9E14175-9E53-445B-BEC1-FF5F43380FBB}{tr:id=name}{td}h6.SOUTH*Sample*\\{sub-section:SOUTH_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SOUTH_sam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:idclass=deslastDetailRow}{td}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_des|text=|trigger=button}{sub-section}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_des|trigger=none|class=sIndent}Constant to be used when specifying anchoring for components.
Makes the component anchored to the bottom side of the window,
which means that the component will keep a constant distance
from the bottom side of the window. If NORTH anchoring is also 
enabled, then the component will grow/shrink as the window 
is vertically resized.

This constant is used also for setting tab orientation on tab panels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_ret|text=|trigger=button}{sub-section}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_see|text=|trigger=button}{sub-section}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_see|text=|trigger=button}{sub-section}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_sam|text=|trigger=button}{sub-section}{sub-section:B9E14175-9E53-445B-BEC1-FF5F43380FBB_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var strechVerticallyLabel = form.newLabel('Strech vertically', 10, 10, 190, 280);
strechVerticallyLabel.background = 'green';
strechVerticallyLabel.anchors = SM_ANCHOR.WEST | SM_ANCHOR.NORTH | SM_ANCHOR.SOUTH;
var stickToBottomRightCornerLabel = form.newLabel('Stick to bottom-right corner', 190, 190, 200, 100);
stickToBottomRightCornerLabel.background = 'pink';
stickToBottomRightCornerLabel.anchors = SM_ANCHOR.SOUTH | SM_ANCHOR.EAST;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE}{tr:id=name}{td}h6.WEST{td}{tr}{tr:id=des}{td}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_des|text=|trigger=button}{sub-section}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_des|trigger=none|class=sIndent}Constant to be used when specifying anchoring for components.
Makes the component anchored to the left side of the window,
which means that the component will keep a constant distance
from the left side of the window. If EAST anchoring is also 
enabled, then the component will grow/shrink as the window 
is vertically resized.

This constant is used also for setting tab orientation on tab panels.{sub-section}td}{tr}{tbody}{tbody:id=WEST|class=node}{tr:id=name}{td}h6.WEST{td}{tr}{builder-show:permission=edit}{tr:id=prsdes}{td}*Parameters*\\{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_prsWEST_des|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_prs-section}{sub-section:WEST_des|trigger=none|class=sIndent}Replace with description{sub-section}{divtd}{tdtr}{trbuilder-show}{builder-show:permission=edit}{tr:id=retsnc}{td}*ReturnsSince*\\{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_retWEST_snc|text=|trigger=button}{sub-section}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_retWEST_snc|trigger=none|class=sIndent}[Number] Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=seeprs}{td}*Also seeParameters*\\{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_seeWEST_prs|text=|trigger=button}{sub-section}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_seeWEST_prs|trigger=none|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_seeWEST_ret|text=|trigger=button}{sub-section}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_linkWEST_ret|trigger=none|class=sIndent|trigger=none}}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=samsee}{td}*SampleAlso see*\\{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_sam|text=|trigger=buttonWEST_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEST_see|trigger=none}{sub-section}{div}{td}{sub-section:ABD9C9BF-7E8C-4D1D-A54C-76BBB7D2D1AE_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var strechHorizontallyLabel = form.newLabel('Strech horizontally', 10, 10, 380, 140);
strechHorizontallyLabel.background = 'blue';
strechHorizontallyLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST | SM_ANCHOR.EAST;
var stickToTopLeftCornerLabel = form.newLabel('Stick to top-left corner', 10, 10, 200, 100);
stickToTopLeftCornerLabel.background = 'orange';
stickToTopLeftCornerLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST;
{codetr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:WEST_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEST_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sam}{td}*Sample*\\{sub-section:WEST_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:WEST_sam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}