object "ue_terminal" for Control the Terminal
used from the APP-System in Window "menu_terminal.psr"
This object is declared with
declare=terminal=ue_terminal
terminal=command=property
Property |
Description |
|---|---|
setprogram=x |
sets the current application |
settimeout=x |
sets timeout in sec |
setdw=dw_x |
sets the datawindow for terminal-GUI |
displaygui=<program>=<accessgroup> |
displays the gui for the program and accessgroup |
displaygui=<accessgroup> |
displays the gui for the current program and chosen accessgroup |
deletegui |
deletes all buttons - go to login-screen |
appid=x |
starts the app |
timeoutreset |
restarts the timeout-Counter |
logout |
logs out current user |
login=<cardnumber> |
logs in the current user |
timer |
displays time, date etc. |
tkey=x |
inserts x in LoginScreen |
info=x |
opens info - Window |
resize |
Resizes the Window |
settermialmenu |
sets the main terminal menu and the current window to maximized status |
terminalinit |
|
timeoutactive=<YesNo> |
(de)activates the timeout for a logged in user Default is true (timeout on) |
arrivaltimeout |
|
redrawgui |
|
editchange |
this function opens an integrated sub-window
you can set more lines
Commands:
terminal=info=<typ>=<text>
terminal=display
terminal=close
Types
1=<text> |
New Line with one Text |
2=<text><tab><text> |
New Line with two Columns |
3=<text><tab><text><tab><text> |
New Line with three Columns |
bitmap=<bitmapfilename> |
Inserts a Bitmap (png, gif, jpg) |
inputfield=<script> |
Inserts an input field. After an Item change, call this script. Use <cr_lf> for new Line and <inputfield> for check the input |
info=<text> |
Creates an info-Message with this text. You can work with multiple Lines. Use <cr_lf> and display this for 5 sec Example: terminal=info=your message is ok<cr_lf>press key |
wait |
Creates a Wait-Message. Max Visible: 99 sec or you close this with "terminal=info=close" terminal=info=wait ... commands terminal=info=close |
error |
Creates an Error-Message with this text. You can work with multiple Lines. Use <cr_lf> and displays this for 99 sec or waits for a user-action (example: User pressed a key or System-Logout) Example: terminal=info=your message is wrong<cr_lf>press key |
printtext=<multiple line> |
Inserts more than one line. Use <cr_lf> for next line |
errorbitmap |
inserts an error-Bitmap |
okbitmap |
inserts an ok-Bitmap |
display [=x] |
Displays the message for x seconds or standard-Timeout for seconds. Example: terminal=info=okbitmap terminal=info=This is my Message terminal=info=display=5
|
close, disable |
Closes the message |
inputchange |
Checks inputfield (is triggered after changing the inputfield) Replaces <cr_lf> and <inputfield> Executes the Value of the script. See "inputfield" |
Example
terminal=info=close
terminal=info=99=bmp/gfx/big_time.png
terminal=info=printtext=hola
terminal=info=printtext=hola 2
terminal=info=display=5