!!!Listing13

#include "palmsky.h"

form id FormPREFERENCES at (20 20 120 120) modal
menuid MenuPREFERENCES
begin
  title "PalmSky preferences"

  label "geografical position" autoid at (10 20)

  popuptrigger "north" id PopTrigNS at (20 30 auto auto)
  list "north" "south" id ListNS at (prevleft prevtop prevwidth auto) nonusable visibleitems 2
  popuplist PopTrigNS ListNS
  field id FieldNS at (65 prevtop 45 auto) underlined maxchars FieldGeoPosWidth
  label "" autoid at (prevright+1 prevtop)

  popuptrigger "east" id PopTrigEW at (20 45 auto auto)
  list "east" "west" id ListEW at (prevleft prevtop prevwidth auto) nonusable visibleitems 2
  popuplist PopTrigEW ListEW
  field id FieldEW at (65 prevtop 45 auto) underlined maxchars FieldGeoPosWidth
  label "" autoid at (prevright+1 prevtop)

  label "system time shift" autoid at (10 65)
  label "against GMT: " autoid at (prevleft prevbottom+1)
  popuptrigger "+1" id PopTrigTIME at (prevright+5 prevtop auto auto)
  list "-12" "-11" "-10" "-9" "-8" "-7" "-6" "-5" "-4" "-3" "-2" "-1" "=="
	   "+1" "+2" "+3" "+4" "+5" "+6" "+7" "+8" "+9" "+10" "+11" "+12" "+13"
	id ListTIME at (prevleft prevtop prevwidth+10 auto) nonusable visibleitems 6
  popuplist PopTrigTIME ListTIME
  label "h" autoid at (prevright-9 prevtop)

  button "OK" id BtnOkPREFERENCES at (center prevbottom+10 auto auto)
end
