<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{456,151,612,461}</property>
    <property name="Name">[tvpntref]</property>
    <property name="Caption">[Dados p/ Entrega Domicilio]</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}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</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)
IF xGetEnv("FATURA_SERVICOS")<>"S"
   oLabelPrevisao:CAPTION := "Dados para Entrega"
   oLabelPrevisao:Refresh()
   ofBomPara:Hide()
else
   IF DAY(m_fBomPara)=0.or..not. w_FgCredCob$"/FECHADAV/FECHAPN/FECHAMENTO/ALTERARPV/ALTERARPN/ALTERARDAV/"
      m_fBomPara:=s_dAtual
      ofBomPara:Refresh()
   ENDIF
EndIf]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{3,3,607,425}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{242,31,120,30}</property>
        <property name="Name">[ofBomPara]</property>
        <property name="varName">[m_fBomPara]</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="700"/>
        </property>
        <property name="AutoHScroll">.T.</property>
        <property name="cPicture">[99.99.9999]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{19,32,215,27}</property>
        <property name="Name">[oLabelPrevisao]</property>
        <property name="Caption">[Previsao de Entrega:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{10,70,594,349}</property>
        <property name="Name">[oGroup2]</property>
        <property name="Caption">[Endereço]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-12" weight="400"/>
        </property>
        <property name="TabIndex">1002</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,90,579,30}</property>
          <property name="Name">[ocr_rua]</property>
          <property name="varName">[m_cr_rua]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="AutoHScroll">.T.</property>
          <property name="cPicture">[@s50]</property>
          <property name="nMaxLength">50</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">3</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,137,578,30}</property>
          <property name="Name">[ocr_pontore]</property>
          <property name="varName">[m_cr_pontore]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="cPicture">[@s50]</property>
          <property name="nMaxLength">50</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">5</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{19,121,132,16}</property>
          <property name="Name">[oLabel1]</property>
          <property name="Caption">[Ponto de Referência]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">6</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,189,335,30}</property>
          <property name="Name">[ocr_bairro]</property>
          <property name="varName">[m_cr_bairro]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="AutoHScroll">.T.</property>
          <property name="cPicture">[@s30]</property>
          <property name="nMaxLength">30</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">7</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[ALLTRIM(M_CR_BAIRRO)=''.OR.PSQ_BROW('VB_BAIRR','PVBBAIRR','M_CR_BAIRRO','N','S',5,3,'','','',,ocr_bairro,)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{19,171,56,16}</property>
          <property name="Name">[oLabel4]</property>
          <property name="Caption">[Bairro:]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">8</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{380,187,217,30}</property>
          <property name="Name">[ocr_fone]</property>
          <property name="varName">[m_cr_fone]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="cPicture">[@s20]</property>
          <property name="nMaxLength">15</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">11</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{381,169,34,16}</property>
          <property name="Name">[oLabel8]</property>
          <property name="Caption">[Fone]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">12</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,240,232,30}</property>
          <property name="Name">[ocr_cgc]</property>
          <property name="varName">[m_cr_cgc]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="cPicture">[@s18]</property>
          <property name="nMaxLength">18</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">13</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[alltrim(m_cr_cgc)="".or.cpf_ok(m_cr_cgc).or.cgc_ok(m_cr_cgc)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{19,221,79,16}</property>
          <property name="Name">[oLabel13]</property>
          <property name="Caption">[CNPJ ou CPF]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">14</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{254,240,342,30}</property>
          <property name="Name">[ofnumcart]</property>
          <property name="varName">[m_fnumcart]</property>
          <property name="font">
            <font name="Arial" width="0" height="-19" weight="400"/>
          </property>
          <property name="cPicture">[@s25]</property>
          <property name="nMaxLength">25</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">15</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{256,222,100,16}</property>
          <property name="Name">[oLabel14]</property>
          <property name="Caption">[Cartao de Credito]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">16</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,293,576,115}</property>
          <property name="Name">[ofobs]</property>
          <property name="varName">[m_fobs]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="Multiline">.T.</property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">21</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[RETURN .T.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{19,275,91,16}</property>
          <property name="Name">[oLabel2]</property>
          <property name="Caption">[Observações]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">22</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{357,201,18,19}</property>
          <property name="Name">[oOwnerbutton3]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">26</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('VB_BAIRR','PVBBAIRR','M_CR_BAIRRO','N','S',5,3,'','','','EXIBA',ocr_bairro,)]]>
        </method>
      </part>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{456,429,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">{534,429,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>
