WINDOW TITLE "Rychlostník doplněk"
@ 0, 15 GET udajeD PREFIX "Vepsané údaje:" SIZE 0,5  ONCHANGE=OnChange_VAR
@ 1, 15 GET jzm_km PREFIX "Kilometr:" SIZE 0,20
@ 1, 36 GET jzm_kmev SUFFIX "evid" SIZE 0,2
@ 2, 15 GET jzm_neu PREFIX "+km:" SIZE 0,20
@ 3, 15 GET jzm_varD PREFIX "Typ doplň.:" SIZE 0,20


@ 5, 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