window

A window present the main border of a beas window

Every window can have documents and inside a document different data windows can be inside

 

window

 

 

Method

Description

alert

Display a simple messagebox

cancel

Close window with "cancel" event. If not updated, the system ask, if you want to really cancel (related to additional settings)

cancelEdit

Cancel Edit Process

close

close

Close window with "ok" event. If not updated, it execute the update sequence

confirm

Prompt message with Yes/No

document

present the document inside the window

windowevent

call a window event (user event)

freeze

freeze, unfreeze window

focus

set focus to this form

getChild

Return child window

getParent

Return parent window

lock

Lock all fields

maximized

maximize the window

menuBar

Present the Menu from current window (current not supported)

openform

open a new window (form)

post

Send json script on post command stack

prompt

Messagebox title, question and text input field

qcDropDownCheck

redraw

refresh User Interface (only redraw, without reloading)

refresh

reload the Data

setReturnValue

Modal form: set values for parent window

title

redraw the current title

updateCheck

Check all primary fields

update

Execute update/add event

new

Execute new event

delete

Execute delete event

resizeTo

Set new width/height of the window to the defined arguments width/height

resizeBy

Change new width/height of the window by the defined arguments width/height

moveTo

Set new left/top Parameter for this window to the defined arguments left/top

moveBy

Change new left/top Parameter with defined arguments left/top

clearIntervall

delete a defined setIntervall entry

clearTimeout

delete a defined setTimeout entry

clearKeyTimeout

delete a defined setKeyTimeout entry

setIntervall

define a Intervall, execute a function every x milliseconds

setTimeout

define a function call executed after defined milliseconds

setKeyTimeout

define a function call executed after defined milliseconds without user activity

 

Properties

Property

R

W

Description

document

x

 

Present the object document

Inside document the documents dw_1...dw_6 is inside

str_parm

x

x

top

x

x

Define / return top position of the window

left

x

x

Define / return left position of the window

width

x

x

Define / return width of the window

height

x

x

Define / return height of the window

title

x

x

Set / return current title of the window

freeze

x

x

Set / Disable freeze

visible

x

x

Make window visible / unvisible

enabled

x

x

Enable / Disable the window