@ 0, 13 GET jzm_km PREFIX "Kilometrování:" SIZE 0,30  ONCHANGE=OnChange_VAR
@ 0, 44 GET jzm_kmev SUFFIX "evid" SIZE 0,2
@ 1, 13 GET jzm_neu PREFIX "+km:" SIZE 0,30
@ 2, 13 GET jzm_var1 PREFIX "Typ:" SIZE 0,30
 
@ 4, 1 BUTTON FORM "UAP_Dráha.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