setupwindow

beasscript-logo-small

create a setup-window in a simple form

Object:

 

setvar=csetup1=description=variable=[visible:]typ=default
setvar=csetup2=description=variable=typ=default
system=sys_usersetup=edit

 

this System use table beas_sys_setup

you can read the settings with <setup:variable> or <localset:variable>

 

 

variable

the local or global variable

visible

l:  = local variable (only for this station)
nothing: global variable (for all stations)

typ

the typ

j/n = checkbox

text = Textstring

 

 

Example:

setvar=csetup1=use rtf=mywindowrtf=l:j/n=J
system=sys_usersetup=edit

 

open the setup-Window and ask for the properties as checkbox

beas save this as local variable in <localset:mywindowrtf>

 

Example:

setvar=csetup1=use rtf=mywinfirstline=text
system=sys_usersetup=edit

 

open the setup-Window and ask for the properties as text

beas save this as global variable in <setup:mywinfirstline>

 

see

setlocal

setsetup

setsetup2

placeholder