Child pages
  • SCROLLBAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381948887907

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTALHORIZONTAL_SCROLLBAR_ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTALHORIZONTAL_SCROLLBAR_AS_NEEDED
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTALHORIZONTAL_SCROLLBAR_NEVER
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#SCROLLBARSSCROLLBARS_WHEN_NEEDED
Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed
only when needed.
tbody
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VERTICALVERTICAL_SCROLLBAR_ALWAYS
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
tbody
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VERTICALVERTICAL_SCROLLBAR_AS_NEEDED
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VERTICALVERTICAL_SCROLLBAR_NEVER
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idHORIZONTAL_SCROLLBAR_ALWAYS
Table Row (tr)
idname
Table Cell (td)
HORIZONTAL_SCROLLBAR_ALWAYS
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var alwaysScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 230, 10, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idHORIZONTAL_SCROLLBAR_AS_NEEDED
Table Row (tr)
idname
Table Cell (td)
HORIZONTAL_SCROLLBAR_AS_NEEDED
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idHORIZONTAL_SCROLLBAR_NEVER
Table Row (tr)
idname
Table Cell (td)
HORIZONTAL_SCROLLBAR_NEVER
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var noScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idSCROLLBARS_WHEN_NEEDED
Table Row (tr)
idname
Table Cell (td)
SCROLLBARS_WHEN_NEEDED
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed
only when needed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
// This is the default option, but if you really want you can set it explicitly.
neededScrollbars.scrollbars = SM_SCROLLBAR.SCROLLBARS_WHEN_NEEDED;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_ALWAYS
Table Row (tr)
idname
Table Cell (td)
VERTICAL_SCROLLBAR_ALWAYS
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var alwaysScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 230, 10, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_AS_NEEDED
Table Row (tr)
idname
Table Cell (td)
VERTICAL_SCROLLBAR_AS_NEEDED
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_NEVER
Table Row (tr)
idname
Table Cell (td)
VERTICAL_SCROLLBAR_NEVER
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

var noScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER;

...

Table Row (tr)
classlastDetailRow
Table Cell (td)