<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{300,159,525,360}</property>
    <property name="Name">[xml_conv]</property>
    <property name="Caption">[Conversao de Unidades]</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="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 m_pitens=0
   m_pitens:=1
ENDIF
om_Pitens:Refresh()]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{7,3,511,310}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="line">
      <style>
        <property name="Geometry">{7,320,511,2}</property>
        <property name="Name">[oLine1]</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{210,30,92,18}</property>
        <property name="Name">[ocUnidCompra]</property>
        <property name="varName">[cUnidCompra]</property>
        <property name="nMaxLength">4</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,30,189,16}</property>
        <property name="Name">[oSaycUnidCompra]</property>
        <property name="Caption">[Unidade de Compra no XML :]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{210,50,92,18}</property>
        <property name="Name">[onPrUnitXml]</property>
        <property name="varName">[nPrUnitXml]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,50,189,16}</property>
        <property name="Name">[oSaynPrUnitXml]</property>
        <property name="Caption">[Preco de 1 Unidade do XML:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{210,70,92,18}</property>
        <property name="Name">[onQuantXML]</property>
        <property name="varName">[nQuantXML]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,70,189,16}</property>
        <property name="Name">[oSaynQuantXML]</property>
        <property name="Caption">[Quantidade no XML .......:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{91,107,408,63}</property>
        <property name="Name">[ocQuestao]</property>
        <property name="varName">[cQuestao]</property>
        <property name="Multiline">.T.</property>
        <property name="nMaxLength">0</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,123,70,16}</property>
        <property name="Name">[oSaycQuestao]</property>
        <property name="Caption">[Questao :]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{91,173,92,18}</property>
        <property name="Name">[oNpitens]</property>
        <property name="varName">[nPitens]</property>
        <property name="cPicture">[999999.999]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[m_pitens>0.and.(m_mQuant:=nQuantXML*m_pitens, m_PrUnit:=nPrUnitXml/m_pitens,RefreshGetList())]]>
      </method>
      <method name="onGetFocus">
        <![CDATA[IF m_pitens=0
   m_pitens:=1
ENDIF
RETURN m_pitens>0]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,173,70,16}</property>
        <property name="Name">[oSaym_pitens]</property>
        <property name="Caption">[Resposta:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{406,203,91,18}</property>
        <property name="Name">[ocUnidVenda]</property>
        <property name="varName">[cUnidVenda]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">6</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,203,385,16}</property>
        <property name="Name">[oSaycUnidVenda]</property>
        <property name="Caption">
[Sua Unidade de Venda/Consumo atualmente cadastrada...:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{406,223,91,18}</property>
        <property name="Name">[om_pVluVen3]</property>
        <property name="varName">[m_pVluVen3]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">7</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,223,385,16}</property>
        <property name="Name">[oSaym_pVluVen3]</property>
        <property name="Caption">
[Seu Preco de Recompra de 1 Unidade de Venda/Consumo..:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{406,243,91,18}</property>
        <property name="Name">[om_PrUnit]</property>
        <property name="varName">[m_PrUnit]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,243,385,16}</property>
        <property name="Name">[oSaym_PrUnit]</property>
        <property name="Caption">
[Preco Recompra de 1 Unidade de Venda/Consumo pelo XML:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{406,263,91,18}</property>
        <property name="Name">[om_mQuant]</property>
        <property name="varName">[m_mQuant]</property>
        <property name="cPicture">[9999999.999]</property>
        <property name="nMaxLength">12</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,263,385,16}</property>
        <property name="Name">[oSaym_mQuant]</property>
        <property name="Caption">
[Quantidade que sera adicionada em seu Estoque........:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">10</property>
      </style>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{368,326,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">{448,326,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>
