<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{423,290,396,210}</property>
    <property name="Name">[CxaGetTurno]</property>
    <property name="Caption">[Informe Turno para Abertura ou Fechamento]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Arial" width="0" height="-13" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="Variables">{modus,vlistbox}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[0 - No Border]</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\default.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.T.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.F.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onDlgInit">
    <![CDATA[s_vb_ncaix:=1]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{10,25,293,171}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="listbox">
      <style>
        <property name="Geometry">{15,39,279,150}</property>
        <property name="Name">[oListBox]</property>
        <property name="varName">[vListBox]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700" italic="255"/>
        </property>
        <property name="TabIndex">37</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[(s_vb_ncaix := VAL(RIGHT( oListBox:aItems[vListBox],2)))>0]]>
      </method>
      <method name="onKeyDown">
        <![CDATA[PARAMETERS oCtrl, nKey
// MsgINFO("no onkeydown teclou "+STR(nkey,3))
IF nKey=13 .or. nKey=27
   s_vb_ncaix := VAL(RIGHT( oListBox:aItems[vListBox],2)) 
   oDlg:lresult := .t.
   oDlg:Close()
endif
]]>
      </method>
      <method name="onDblClick">
        <![CDATA[s_vb_ncaix := VAL(RIGHT( oListBox:aItems[vListBox],2)) 
   oDlg:lresult := .t.
oDlg:CLOSE()]]>
      </method>
      <method name="onInit">
        <![CDATA[DO WHILE LEN(oListBox:aItems)<s_vb_totcx
   AADD(oListBox:aItems, "Turno "+STR(LEN(oListBox:aItems)+1,2))
EndDo
vListbox:=1
oListBox:Refresh()
]]>
      </method>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{313,127,70,31}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[Confirma]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">4</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{313,167,70,31}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[Cancela]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">5</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{21,0,334,19}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Informe Turno para Abertura / Fechamento]</property>
      <property name="TextColor">16777215</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">38</property>
    </style>
  </part>
</part>
