Navigation:  Reference > Properties >

System Properties

Previous pageReturn to chapter overviewNext page

ForeUI has some predefined system properties for you to get some information from the environment.  Here are all available system properties in ForeUI.

 

Name

Type

Description

Comment

Screen_Width

Integer

The width of the screen

"Screen" means the page here

Screen_Height

Integer

The height of the screen

"Screen" means the page here

Current_Page_Index

Integer

The index of the current page

Index starts with 1

Current_Page_Title

String

The title of current page


Available_Page_Indices

Array

Indices for available pages as array

All pages except those in the excluded folders

Available_Page_Titles

Array

Titles for available pages as array

All pages except those in the excluded folders

Current_Year

Integer

Current year

4 digits number.  e.g. 2011

Current_Month

Integer

Current month

1-2 digits number.

Current_Day

Integer

Current day in the month

1-2 digits number

Current_Hour

Integer

Current hours in the day

1-2 digits number

Current_Minute

Integer

Current minutes in the hour

1-2 digits number

Current_Second

Integer

Current seconds in the minute

1-2 digits number

Current_Key_Code

Integer

The key code of the current key event

Possible values are listed in Key Code Table

Ctrl_Key_State

Integer

1 if CTRL is pressed, otherwise 0


Alt_Key_State

Integer

1 if ALT is pressed, otherwise 0


Shift_Key_State

Integer

1 if SHIFT is pressed, otherwise 0


Focused_Element_Id

String

The Id of focused element


Current_Cursor_X

Integer

The current X position of cursor

Relative to the page, in pixels

Current_Cursor_Y

Integer

The current Y position of cursor

Relative to the page, in pixels

 

You can use the value of system property in any place that supports expression.

If the system property is in Array type, You will need to create a temporary property to store the value within the array, and use the temporary property in expression.

sysprop_array

 

Remarks: system properties are read-only, you could NOT change their values with action.