#include "batbfrd.h"

TOOLBAR "" 0 20 60 2

#include "toolbar.h"

ENDPAGE

PAGE "Tabella formule righe documenti" -1 -1 60 14

GROUPBOX DLG_NULL 75 7
BEGIN
  PROMPT 1 0 ""
  FLAG "R"
END

STRING F_CODTAB 10
BEGIN
  PROMPT 2 2 "Identificatore   "
  FIELD CODTAB
  USE %FRR
  CHECKTYPE REQUIRED
  INPUT CODTAB F_CODTAB
  DISPLAY "Codice@10" CODTAB
  DISPLAY "Descrizione@50" S0
  OUTPUT F_CODTAB CODTAB
  OUTPUT F_DES S0
  KEY 1
  FLAG "UZ"
END

STRING F_DES 50
BEGIN
  PROMPT 2 4 "Descrizione      "
  FIELD S0
  USE %FRR KEY 2
  CHECKTYPE REQUIRED
  INPUT S0 F_DES
  DISPLAY "Descrizione@50" S0
  DISPLAY "Codice@10" CODTAB
  COPY OUTPUT F_CODTAB
  KEY 2
END

STRING F_PICTURE 20
BEGIN
  PROMPT 2 7 "Picture di pres.  "
  FIELD S3
END

BOOLEAN F_TIPO
BEGIN
  PROMPT 2 9 "Formula numerica"
  FIELD B0
END

STRING F_FORMULA 70 50
BEGIN
  PROMPT 2 11 "Formula          "
  FIELD S1
  CHECKTYPE REQUIRED
  WARNING "La formula e' obbligatoria"
  FLAG "U"
END

ENDPAGE
ENDMASK

