#
# This is a Template-File for WWWdb
#
#
#

# --- Description of the data to access -----------------------------------------
; [Data]
; Table    = <DB-table>
; Order    = <DB-fields for ORDER BY-clause>

; UpdFields = <DB-fields for updating data>
; QryFields = <DB-fields for querying data>

; IdField   = <primary-key, must be unique>

# --- Configuring the browser here ----------------------------------------------
; [Browser]
; MaxRows = <Nomber of rows shown in query>

# --- General header for WWWdb --------------------------------------------------
; [Header]
; Title = <Header of form>

# --- User-specific gui definitions ---------------------------------------------
; [GUI]
; BgColor = <Default background-color>
; FgColor = <Default foreground-color>

; DontConfirmAfterDelete = <Value if yes>
; DontConfirmAfterInsert = <Value if yes>
; DontConfirmAfterUpdate = <Value if yes>

# --- Definition of the different states ----------------------------------------

# Buttons for all states
# please note that "-" deactivates a Button
; [State All]
; BtnCancel  = <Text for Button>
; BtnHelp    = <Text for Button>

# This is the state when the form is called the first time, or the Back-button
# is pressed
; [State Init]
; Header = <Heading for initial-state>
; BtnNew = <Text for Button>
; BtnQry = <Text for Button>
; Btn<YourBtn> = <Text for your Button>

# In this state you have selected a record, which you can update or delete
; [State Work]
; Header = <Text for work-state>
; BtnUpd = <Text for Button>
; BtnDel = <Text for Button>

# This is the record-Browser
; [State Qry]
; Header = <Text for query-state>

# --- Layout for the area, the data is shown ------------------------------------
; [Layout Table]
; LinkWidth = <Width of link-box in pixels>
; Border      = <Border-Width>
; BgColor     = <Background-color of table>

# --- Here are the examples for the single fields -------------------------------
;[Layout Label <fieldname>]
;Text = <Text of label>
;Pos  = <Coordinates of this field  <[+]Row.[+]Column[+Span].[+]Stack-Order>

;[Layout Field <fieldname>]
;Pos      = <Coordinates of this field  <[+]Row.[+]Column[+Span].[+]Stack-Order>
;Type     = Area
;Type     = Checkbutton
;Type     = Hidden
;Type     = Password
;Type     = Radio
;Type     = Select
;Type     = Text
;Help     = <Help-Text> # Not correctly implemented yet
;Multiple = <Value if Yes>
;Size     = 3
;Values   = <<EOF

# Attributes
;Align     = center | left | right
;BgColor   = <Color>
;Big       = <Value if Yes>
;Blink     = <Value if Yes>
;Bold      = <Value if Yes>
;Bold      = Value if Yes>
;Font      = color=#000090
;Font      = color=<Foreground-color>
;Font      = face=<Font>
;Font      = size=<[+-]<Size>>
;Italic    = <Value if Yes>
;NoWrap    = <Value if Yes>
;Small     = <Value if Yes>
