form methods and properties

beasscript-logo-small

 

properties

Name

Read

Write

Description

actualprocess

x
S

 

Return the actual process

authorization.set
authorization.overload
<authorization>

 

 

x

x

x

authorization.load=id

 

x

blockupdate=true/false

x

x

border=yes/no

 

x

avtivate/deactivate the border (only Beas)

bringtotop=yes/no

 

x

always bring the form to top (only Beas)

cancel

 

x

center=yes/no

 

x

center form

checksql

x

x

click.[property]

x

 

client.x,y,width,height

 

x

Return the position of the client inside the current form

Example <form.client.x>

clickmode

x

 

clicking

x

 

close

 

x

closesetfocus=parent/no

 

x

closewindowmessage

 

x

controlmenu=yes/no

 

x

Activate the control-Menu of the current form (only Beas)

enabled=yes/no

 

x

Enable-propertie from form

focus.[property]

x

 

getvaliddw

x

 

handle

x

S

 

Return the handle number of this form.

You can send information to this form with follow script

send=<handleid>=<eventid>=command

inserttype

x

x

last.[property]

x

 

maxbox=yes/no

 

x

activate the maxbox-Control of the current form (only beas)

maximized

 

x

maximized the form (only beas)

mode

x

S

x

Define and read current form mode (OK/UPDATE/READ)

move=x=y

 

x

move Form
also works within beasgui

modify

 

x

name

x

 

Name of first dataform dw_1 without folder and ".psr" is_name

openscript

x

x

Set and return the command description to open this form

printdw

x

x

redraw=yes/no

 

x

redraw=yes    redraw the form

redraw=no      freeze the form

redrawallcolumns

 

 

reload

 

 

x

return.[property]=value

x

x

resize

 

x

start manual the resizing of the form

resizable=<yes/no>

 

x

set the form to resizable / not resizable

resizemode=u/f/c

x

x

Set or read the resize mode

resized

x

 

return true, if user resized window, false if not

ret_code

x

 

Return return code from last function call in this object

ret_value

x

 

Return text value information from last function call in this object

ret_text

x

 

Return text information from last function call in this object

save

 

x

Save / Update all Data

setconvert

x

 

systemborder

 

x

template

x

x

tabsheet

 

 

title=<text>

x

x

topic

x

x

Define the topic of beas help: form.topic=itemmasterdat.htm is_topic <sys_topic>

Alias: topicid

torightdown

 

 

set form to right down of MDI-form (only beas)

type

x

x

udf

x

x

visible=yes/no

 

x

visible from the form

formstate=<state>

 

x

x,y,width,height

x

x

xcenter,ycenter

x

 

return the middle point of form, example: If form has a width from 1000, <form.xcenter> return 500

zoom

x

x

return current zoom percent factor from actual form ii_zoom

if you set this: only for follow components. Beas does not redraw the form

form

x

x