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

# --- Description of the data to access -----------------------------------------
[Data]
Table    = dummy
Order    =
UpdFields = trans_text_base_lang, trans_text, lang, file
QryFields =

IdField   = search_tag


[Cache]
Timeout         = 0

# --- Configuring the browser here ----------------------------------------------
[Browser]
MaxRows = 15

# --- General header for WWWdb --------------------------------------------------
[Header]
Title = "Translate Programs"

# --- User-specific gui definitions ---------------------------------------------
[GUI]

# --- 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 = "Translation of texts in source-code"
BtnNew = "Translate"
BtnQry = -
; Btn<YourBtn> = <Text for your Button>

# In this state you have selected a record, which you can update or delete
[State Work]
Header = "Translate this Text"
BtnUpd = -
BtnDel = -

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

[Qry]
BgColor2    = #e0e0e0
NrOfColLine = 2
SelType = Link

# --- 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>

[Layout Qry _link]
Text = ""
Type = Ref
Value = "<  >"
Align = Right

# --- Here are the examples for the single fields -------------------------------

[Layout Label file]
Pos = +2.0.0
Text = "File: "
Bold = Yes
Align = Right


[Layout Field file]
Pos = +0.+2.0
Type = Label


[Layout Label trans_text_base_lang]
Pos = +2.0.0
Text = "Text&nbsp;<BR>(base-language): "
Bold = Yes
Align = Center


[Layout Field base_lang]
Pos = +0.+1.0
Bold = Yes
Type = Label

[Layout Field trans_text_base_lang]
Pos = +0.+1.0
Bold = Yes
Type = Label
BgColor    = #e0e0e0

[Layout Label trans_text]
Pos = +1.0.0
Text = "Text&nbsp;<BR>(translated): "
Bold = Yes
Align = Center

[Layout Field lang]
Pos = +0.+1.0
Bold = Yes
Type = Label

[Layout Field trans_text]
Pos = +0.+1.0
Bold = Yes
Type = Area
Size = 60
Rows = 5

[Layout Field search_tag]
Type = Hidden
