<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{404,177,608,319}</property>
    <property name="Name">[fpagrec_ch]</property>
    <property name="Caption">[Dados do Cheque]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Courier New" width="0" height="-12" 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,osoSayfbanco}</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="nBackColor">16777215</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tela2.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.F.</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="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
SET(5,1960) ]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{5,280,597,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{5,3,603,274}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{192,70,72,35}</property>
        <property name="Name">[ofbanco]</property>
        <property name="varName">[m_fbanco]</property>
        <property name="font">
          <font name="Arial" width="0" height="-27" weight="700"/>
        </property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[PSQ_BROW('CT_BANCO','PCTBANCO','M_FBANCO','N','S',10,24,'NOME','@S15','',,ofbanco,osoSayfbanco)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{19,80,167,22}</property>
        <property name="Name">[oSayfbanco]</property>
        <property name="Caption">[Numero do Banco.:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{192,110,140,35}</property>
        <property name="Name">[ofcheque]</property>
        <property name="varName">[m_fcheque]</property>
        <property name="font">
          <font name="Arial" width="0" height="-27" weight="700"/>
        </property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[m_fcheque>0]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{19,125,166,20}</property>
        <property name="Name">[oSayfcheque]</property>
        <property name="Caption">[Numero do Cheque:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{192,148,98,35}</property>
        <property name="Name">[ofdiasprazo]</property>
        <property name="varName">[m_fdiasprazo]</property>
        <property name="font">
          <font name="Arial" width="0" height="-27" weight="700"/>
        </property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[(m_fbompara:=s_datual+m_fdiasprazo,RefreshGetList())]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{19,160,166,22}</property>
        <property name="Name">[oSayfdiasprazo]</property>
        <property name="Caption">[Dias de Prazo...:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="datepicker">
      <style>
        <property name="Geometry">{192,187,159,35}</property>
        <property name="Name">[ofbompara]</property>
        <property name="varName">[m_fbompara]</property>
        <property name="font">
          <font name="Arial" width="0" height="-27" weight="700"/>
        </property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[IF DAY(m_fBomPara)>0 .AND. m_fBomPara<s_datual
   ALERT("A data do cheque esta inferior a data atual! Atencao!")
   RETURN .t.
ENDIF
IF DAY(m_fBomPara)=0
   ALERT("Voce precisa indicar uma data de vencimento valida!")
   RETURN .f.
ENDIF
]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{18,199,166,22}</property>
        <property name="Name">[oSayfbompara]</property>
        <property name="Caption">[Data BomPara....:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{192,224,201,35}</property>
        <property name="Name">[ocr_valor]</property>
        <property name="varName">[m_cr_valor]</property>
        <property name="font">
          <font name="Arial" width="0" height="-27" weight="700"/>
        </property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[@e 999,999.99]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[m_cr_valor>0.and.m_cr_valor<=wValorPermitido]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{19,237,167,21}</property>
        <property name="Name">[oSaycr_valor]</property>
        <property name="Caption">[Valor Recebido..:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{300,79,297,27}</property>
        <property name="Name">[osoSayfbanco]</property>
        <property name="Caption">[...]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="400"/>
        </property>
        <property name="Border">.T.</property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{270,84,23,20}</property>
        <property name="Name">[obofbanco]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-16" weight="400"/>
        </property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('CT_BANCO','PCTBANCO','M_FBANCO','N','S',10,24,'NOME','@S15','','EXIBA',ofbanco,osoSayfbanco)]]>
      </method>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{450,284,70,28}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;OK]</property>
      <property name="TabIndex">1000</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{530,284,70,28}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="TabIndex">1001</property>
    </style>
  </part>
</part>
