Child pages
  • UICONSTANTS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{div:style=}
Wiki Markup
Div
styledisplay:none

DO

NOT

EDIT

THE

CONTENT

OF

THIS

PAGE

DIRECTLY

(EXCEPT

INSIDE

THE

DIV

BELOW

WITH

ID=DESCRIPTION),

UNLESS

YOU

KNOW

WHAT

YOU'RE

DOING.


THE

STRUCTURE

OF

THE

CONTENT

IS

VITAL

IN

BEING

ABLE

TO

AUTO

UPDATE

THE

CONTENT

THROUGH

THE

DOC

GENERATOR.

\\ \\ Enter additional information related to this



Enter additional information related to this 'class'

inside

the

\

{div}

macro

with

'id=description'

{div} {div:id=description}{div}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[

Div
iddescription


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)
String
Table Cell (td)
#COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN

...


Property

...

that

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#DATE_FORMATTERS_LENIENT

...


Property

...

that

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD

...


Property

...

that

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#LEAVE_FIELDS_READONLY_IN_FIND_MODE

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TABLEVIEW_WC_DEFAULT_SCROLLABLE

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TOOLTIP_DISMISS_DELAY

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TOOLTIP_INITIAL_DELAY

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN

...


Property

...

that

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY

...


Property

...

that

...

can

...

be

...

set

...

using

...

application.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#USE_SYSTEM_PRINT_DIALOG

...


Property

...

than

...

can

...

be

...

set

...

using

...

application.

...


HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idCOMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property that can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property that can be set using application.putClientProperty()

or

element.putClientProperty().

If

set

on

application

it

will

affect

all

COMBOBOX

fields.

If

set

on

an

element

it

will

affect

only

that

COMBOBOX

element/field

(with

priority

over

the

application

property).


Value

can

be

true/false/null.

If

set

to

true,

the

affected

COMBOBOX

will

show

the

pop

\

-up

when

gaining

focus.


DEFAULT:

true.

{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

// make all COMBOBOX fields not show the pop-up when gaining focus
application.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, false);
// make one COMBOBOX field show the pop-up when gaining focus - overrides the application property set
forms.someForm.elements.comboboxElement.putClientProperty(APP_UI_PROPERTY.COMBOBOX_SHOW_POPUP_ON_FOCUS_GAIN, true);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDATE_FORMATTERS_LENIENT
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
DATE_FORMATTERS_LENIENT
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property that can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property that can be set using application.putClientProperty()

or

element.putClientProperty().

If

set

on

application

it

will

affect

all

date

formatted

fields.

CAUTION:

this

property

must

be

set

on

application

before

the

fields

are

created

(for

example

in

solution

onOpen

handler).

Changing

it

after

fields

were

created

will

not

affect

these

existing

fields.


If

set

on

an

element

it

will

affect

only

that

date

formatted

element/field

(with

priority

over

the

application

property).


Value

can

be

true/false/null.

If

set

to

false,

date

formatted

fields

will

not

allow

input

of

out

\

-of

\

-bounds

values

(like

62

minutes

means

2

minutes

and

+1

hour).


DEFAULT:

true.

{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

// make all date formatted fields (created after this line is executed) not use lenient mode
application.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_LENIENT, false);
// make one date formatted field use lenient mode - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_LENIENT, true);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDATE_FORMATTERS_ROLL_INSTEAD_OF_ADD
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property that can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property that can be set using application.putClientProperty()

or

element.putClientProperty().

It

is

used

only

in

Smart

Client.

If

set

on

application

it

will

affect

all

date

formatted

fields.

If

set

on

an

element

it

will

affect

only

that

date

formatted

element/field

(with

priority

over

the

application

property).


Value

can

be

true/false/null.

If

set

to

true,

only

selected

part

of

the

date

will

be

affected

when

using

up/down

keys

to

cycle

through

values.

(for

example,

pressing

up

when

cursor

is

on

minutes

and

minutes

shows

59

will

not

result

in

hour

change)


DEFAULT:

false.

{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

// make all date formatted fields use roll instead of add
application.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD, true);
// make one date formatted field use add instead of roll - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.DATE_FORMATTERS_ROLL_INSTEAD_OF_ADD, false);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idLEAVE_FIELDS_READONLY_IN_FIND_MODE
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
LEAVE_FIELDS_READONLY_IN_FIND_MODE
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property than can be set using application.putClientProperty().

If

set

to

true,

fields

that

are

read

\

-only

won't

be

editable

in

find

mode


If

set

to

false,

fields

that

are

read

\

-only

will

be

editable

in

find

mode

The

value

can

be

true/false


DEFAULT:

false{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

false

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.LEAVE_FIELDS_READONLY_IN_FIND_MODE, true)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTABLEVIEW_WC_DEFAULT_SCROLLABLE
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TABLEVIEW_WC_DEFAULT_SCROLLABLE
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property than can be set using application.putClientProperty().

If

set

to

true,

table

views

in

web

client

are

scrollable

by

default


If

set

to

false,

table

views

in

web

client

are

not

scrollable,

but

pageable

by

default

The

value

can

be

true/false


DEFAULT:

false{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

false

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property than can be set using application.putClientProperty().

If

set

to

true,

scrollable

table

views

in

web

client

will

keep

the

already

loaded

rows

in

the

view


If

set

to

false,

scrollable

table

views

in

web

client

will

unload

not

visible

rows

in

the

view

The

value

can

be

true/false


DEFAULT:

false{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

false

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_SCROLLABLE_KEEP_LOADED_ROWS, true)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTOOLTIP_DISMISS_DELAY
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TOOLTIP_DISMISS_DELAY
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property than can be set using application.putClientProperty()
and

indicates
the
delay
in
milliseconds
after
the
tooltip
is
dismissed.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.TOOLTIP_DISMISS_DELAY, 4000)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTOOLTIP_INITIAL_DELAY
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TOOLTIP_INITIAL_DELAY
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property than can be set using application.putClientProperty()
and

indicates
the
delay
in
milliseconds
before
the
tooltip
is
shown.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.TOOLTIP_INITIAL_DELAY, 2000)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property that can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property that can be set using application.putClientProperty()

or

element.putClientProperty().

If

set

on

application

it

will

affect

all

TYPE

\

-AHEAD

fields.

If

set

on

an

element

it

will

affect

only

that

TYPE

\

-AHEAD

element/field

(with

priority

over

the

application

property).


Value

can

be

true/false/null.

If

set

to

true,

the

affected

TYPE

\

_AHEAD(s)

will

show

the

pop

\

-up

when

gaining

focus.


DEFAULT:

true.

{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

// make all TYPE-AHEAD fields not show the pop-up when gaining focus
application.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN, false);
// make one TYPE-AHEAD field show the pop-up when gaining focus - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN,
true); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
 true);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idTYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property that can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property that can be set using application.putClientProperty()

or

element.putClientProperty().

If

set

on

application

it

will

affect

all

TYPE

\

-AHEAD

fields.

If

set

on

an

element

it

will

affect

only

that

TYPE

\

-AHEAD

element/field

(with

priority

over

the

application

property).


Value

can

be

true/false/null.

If

set

to

true,

the

affected

TYPE

\

_AHEAD(s)

will

show

the

pop

\

-up

when

the

field

content

is

empty.


DEFAULT:

true.

{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

// make all TYPE-AHEAD fields not show the pop-up when there is empty content in the field
application.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY, false);
// make one TYPE-AHEAD field show the pop-up when there is empty content in the field - overrides the application property set
forms.someForm.elements.typeAheadElement.putClientProperty(APP_UI_PROPERTY.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY, true);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idUSE_SYSTEM_PRINT_DIALOG
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
USE_SYSTEM_PRINT_DIALOG
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property than can be set using
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

Property than can be set using application.putClientProperty().

If

set

to

true,

the

system

standard

Printing

dialog

will

be

used

when

printing

is

needed.


If

set

to

false,

the

Servoy

Printing

dialog

will

be

used.

The

value

can

be

true/false/null.


DEFAULT:

false{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

false

Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.putClientProperty(APP_UI_PROPERTY.USE_SYSTEM_PRINT_DIALOG, true)
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)