WINDOW TITLE "Skloník"
@ 0, 10 GET jzm_r PREFIX "Ro:" SUFFIX "m" ONCHANGE=OnChange_VAR
@ 1, 10 GET jzm_popis PREFIX "(+)" SIZE 0, 35

@ 3, 10 GET jzm_s1 PREFIX "Sklon:" SIZE 0, 7 SUFFIX "‰"
@ 5, 10 GET jzm_d1 PREFIX "Délka:" SIZE 0, 9 SUFFIX "m"
@ 4,2 TO 4,40
@ 4,22 TO 8,22
@ 3, 30 GET jzm_s2 PREFIX "Sklon:" SIZE 0, 7 SUFFIX "‰"
@ 5, 30 GET jzm_d2 PREFIX "Délka:" SIZE 0, 9 SUFFIX "m"

@ 9, 10 GET jzm_km PREFIX "Kilometr:" SIZE 0,25 
@ 9, 37 GET jzm_kmev SUFFIX "evid" SIZE 0,2
@ 10, 10 GET jzm_neu PREFIX "+km:" SIZE 0,30

@ 12, 1 BUTTON FORM "UAP_DUG.fmt" \\\
       SIZE 0,15 TITLE "Informace STI" \\\
       ID "VIS"


Function OnChange_VAR
  IF GETENV("GI_SZDC_FORM_STI_BUTTON")="1"
    CHANGESTATE ID=VIS DISABLED=0
    CHANGESTATE ID=VIS HIDDEN=0
  ELSE
    CHANGESTATE ID=VIS DISABLED=1
    CHANGESTATE ID=VIS HIDDEN=1
  ENDIF
EndFunction
