<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{89,43,1019,678}</property>
    <property name="Name">[]</property>
    <property name="Caption">[Selecao de Produtos]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</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="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.F.</property>
    <property name="StyleBorder">[0 - No Border]</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tela.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="onDlgInit">
    <![CDATA[ //odlg:anchor=15
w0JpgProdutoDefault:=r_siga+"xml\vdaprd_produtodefault.jpg"
w1JpgIndiqueProduto:=r_siga+"xml\vdaprd_informeproduto.jpg"
setdlgkey(odlg,,0x73, {||brwalteraritensvda()  } )
]]>
  </method>
  <part class="status">
    <style>
      <property name="Geometry">{0,656,1019,22}</property>
      <property name="Name">[ODLGSTATUSBAR]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="700"/>
      </property>
    </style>
    <part class="label">
      <style>
        <property name="Geometry">{990,670,14,15}</property>
        <property name="Name">[oLabel22]</property>
        <property name="Caption">[__]</property>
        <property name="Anchor">240</property>
        <property name="TextColor">16777215</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-9" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">39</property>
      </style>
    </part>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{0,251,515,132}</property>
      <property name="Name">[oPdesc]</property>
      <property name="varName">[m_pdesc]</property>
      <property name="Anchor">240</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">4194304</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-53" weight="700"/>
      </property>
      <property name="Multiline">.T.</property>
      <property name="FormatText">[UPPERCASE]</property>
      <property name="cPicture">[@s33]</property>
      <property name="Border">.F.</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">7</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{518.00,518,501,121}</property>
      <property name="Name">[ofvaldev]</property>
      <property name="varName">[m_fvaldev]</property>
      <property name="Anchor">240</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">4194304</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-96" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 99,999.99]</property>
      <property name="nMaxLength">10</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{4,76,300,45}</property>
      <property name="Name">[oPcod]</property>
      <property name="varName">[m_pcod]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-35" weight="700"/>
      </property>
      <property name="cPicture">[9999999999999]</property>
      <property name="nMaxLength">13</property>
      <property name="Border">.F.</property>
      <property name="ToolTip">[Informe Cod. do Produto ou Pistole Cod Barras]</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{308,76,207,45}</property>
      <property name="Name">[oMquant]</property>
      <property name="varName">[m_mquant]</property>
      <property name="Anchor">240</property>
      <property name="TextColor">123187896</property>
      <property name="font">
        <font name="Arial" width="0" height="-35" weight="700"/>
      </property>
      <property name="cPicture">[@E 9,999.999]</property>
      <property name="nMaxLength">10</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{0,383,515,21}</property>
      <property name="Name">[oDadosProd]</property>
      <property name="varName">[m_DadosProd]</property>
      <property name="Anchor">240</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-15" weight="400"/>
      </property>
      <property name="Justify">[Center]</property>
      <property name="cPicture">[]</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">11</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{5,4,556,27}</property>
      <property name="Name">[oLabel17]</property>
      <property name="Caption">
[(&quot;Operador: &quot; +str(m_fvendedor) + &quot; - &quot;+m_fnome)]      </property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-19" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{5,548,130,106}</property>
      <property name="Name">[oLabel8]</property>
      <property name="Caption">[(&quot;&quot; +strzero(s_vb_ncaix,2))]</property>
      <property name="Justify">[Center]</property>
      <property name="TextColor">4194304</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-107" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{7,147,145,40}</property>
      <property name="Name">[oPdesconto]</property>
      <property name="varName">[m_pdesconto]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-32" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 99.99]</property>
      <property name="nMaxLength">5</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">12</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{157,147,173,40}</property>
      <property name="Name">[oPrUnit]</property>
      <property name="varName">[m_prunit]</property>
      <property name="Anchor">240</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-32" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 99,999.99]</property>
      <property name="nMaxLength">9</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">12</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{334,147,180,40}</property>
      <property name="Name">[oPrtotal]</property>
      <property name="varName">[m_prtotal]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-32" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 99,999.99]</property>
      <property name="nMaxLength">8</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">12</property>
    </style>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{516.00,75,505,418}</property>
      <property name="Name">[oBrwProds]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="400"/>
      </property>
      <property name="Border">.F.</property>
      <property name="Enabled">.F.</property>
      <property name="TabIndex">24</property>
      <property name="TabStop">.F.</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
    <method name="onInit">
      <![CDATA[//      oBrwProds:bKeyDown := {|self, wParam| wObjetoQueDeveReceberFoco:SetFocus() , .T. }
	hwg_TbFi(oBrwProds, 'Codigo;COD;N;9999999; 6;N;')
	hwg_TbFi(oBrwProds, 'Produto;DESC;C;@S24; 24;N;')
	hwg_TbFi(oBrwProds, ' Qtd;Quant;N;@e 9999.999;  8;N;')
	hwg_TbFi(oBrwProds, 'Preço Unit.;if(Quant=0,"*Cancelado*",Transform(PRUNIT,"@e 99,999.99"));P;;9;N;')
	hwg_TbFi(oBrwProds, 'Preço Total;PRTOTAL;N;@e 99,999.99; 10;N;')
	hwg_TbFi(oBrwProds, '*;if(QtdCanc>0,"*Cancelado*",if(fgprom="S".or.pdescbon>0,"*"," "));C;XXXXXXXXXXX;11;N;')
	oBrwProds:bColorSel:= RGB(3,23,133)
	oBrwProds:tColorSel:= RGB(255,255,255)
	// oBrwProds:bOther:={|o,m,wp,lp| messagesBrowse(o,m,wp,lp)}
	oBrwProds:cargo:={.T.,.T.,"TROCA.tel",.F.,.T.,{||.T.} }
	d_SkipBlock:="sys_tbbrow"
	AADD(aBrowses,{oBrwProds,oBrwProds:Alias,{||.f.},{|| .T.},})]]>
    </method>
    <part class="bitmap">
      <style>
        <property name="Geometry">{528,76,0,133}</property>
        <property name="Name">[oBitmap1]</property>
        <property name="Bitmap">[icon\logo_empresa.jpg]</property>
      </style>
    </part>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{642,641,94,15}</property>
      <property name="Name">[oLabel4]</property>
      <property name="Caption">[F4-Cancela Item]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-12" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">39</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{525,641,117,15}</property>
      <property name="Name">[oLabel13]</property>
      <property name="Caption">[F1-Consulta Produto]</property>
      <property name="Anchor">240</property>
      <property name="font">
        <font name="Arial" width="0" height="-12" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">39</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{847,492,168,22}</property>
      <property name="Name">[oLabel5]</property>
      <property name="Caption">[Credito da Devolucao]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">43</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{7,55,90,19}</property>
      <property name="Name">[oLabel2]</property>
      <property name="Caption">[Código]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">44</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{309,55,90,19}</property>
      <property name="Name">[oLabel6]</property>
      <property name="Caption">[Quantidade]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">45</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{9,126,90,18}</property>
      <property name="Name">[oLabel7]</property>
      <property name="Caption">[Desconto]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">46</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{517,45,217,29}</property>
      <property name="Name">[oLabel23]</property>
      <property name="Caption">[Produtos Devolvidos]</property>
      <property name="font">
        <font name="Arial" width="0" height="-21" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">46</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{160,126,105,19}</property>
      <property name="Name">[oLabel9]</property>
      <property name="Caption">[Preço Unitário]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">47</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{335,126,90,19}</property>
      <property name="Name">[oLabel11]</property>
      <property name="Caption">[Preço Total]</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">48</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{10,228,164,19}</property>
      <property name="Name">[oLabel12]</property>
      <property name="Caption">[Descrição do Produto]</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">49</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{5,521,130,25}</property>
      <property name="Name">[oLabel14]</property>
      <property name="Caption">[Terminal]</property>
      <property name="Justify">[Center]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">49</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{39,425,351,75}</property>
      <property name="Name">[oLabel15]</property>
      <property name="Caption">
[Informe produtos sendo devolvidos. Depois tecle ESC para informar os produtos que serao vendidos]      </property>
      <property name="TextColor">255</property>
      <property name="font">
        <font name="" width="0" height="-19" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">50</property>
    </style>
  </part>
</part>
