<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{309,163,1019,328}</property>
    <property name="Name">[se_kits.tel]</property>
    <property name="Caption">[Indice Tecnico de Producao]</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\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="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
//skel variavel zFgProdClosed = (select("se_prod")=0)
//skel variavel znil = if(zFgProdClosed, Abra_arq(Se_Prod,,"0",r_siga,"SE_PROD") , "")
//skel variavel znil = if(zFgProdClosed, DbSelectArea("se_kits"), "")
//skel comando saida znil = if(zFgProdClosed, se_prod->(DbCloseArea()) , "")
SET(5,1960) ]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{5,288,1011,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{4,0,1012,282}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{267,40,86,27}</property>
        <property name="Name">[oPCOD]</property>
        <property name="varName">[m_PCOD]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700"/>
        </property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_PCOD','N','S',8,6,'','','',,oPCOD,).AND.(M_PDESC:=SE_PROD->PDESC,REFRESHGETLIST())]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,44,242,23}</property>
        <property name="Name">[oSayPCOD]</property>
        <property name="Caption">[Codigo do Produto/Composicao:]</property>
        <property name="Justify">[Right]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{267,80,629,27}</property>
        <property name="Name">[oPDESC]</property>
        <property name="varName">[m_PDESC]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700"/>
        </property>
        <property name="cPicture">[@s50]</property>
        <property name="nMaxLength">50</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,80,242,23}</property>
        <property name="Name">[oSayPDESC]</property>
        <property name="Caption">[Descricao do Kit/Composicao:]</property>
        <property name="Justify">[Right]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{334,140,86,27}</property>
        <property name="Name">[oPCODINSUMO]</property>
        <property name="varName">[m_PCODINSUMO]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700"/>
        </property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[m_pcod<>m_pcodinsumo.and.PSQ_BROW('SE_PROD','PSEPROD_GERAL','M_PCODINSUMO','N','S',8,6,'','','',,oPCODINSUMO,).AND.(M_PDESCINSUM:=SE_PROD->PDESC,REFRESHGETLIST())]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{86,144,242,23}</property>
        <property name="Name">[oSayPCODINSUMO]</property>
        <property name="Caption">[Codigo do Insumo:]</property>
        <property name="Justify">[Right]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{334,180,629,27}</property>
        <property name="Name">[oPDESCINSUM]</property>
        <property name="varName">[m_PDESCINSUM]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700"/>
        </property>
        <property name="cPicture">[@s50]</property>
        <property name="nMaxLength">50</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">{86,184,242,23}</property>
        <property name="Name">[oSayPDESCINSUM]</property>
        <property name="Caption">[Descricao do Insumo:]</property>
        <property name="Justify">[Right]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{334,220,129,27}</property>
        <property name="Name">[oMQUANT]</property>
        <property name="varName">[m_MQUANT]</property>
        <property name="font">
          <font name="Arial" width="0" height="-19" weight="700"/>
        </property>
        <property name="cPicture">[@e 99,999.999]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[m_mquant>0.OR.(ALERT("A Quantidade do Insumo precisa ser informada!"),.f.)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,224,307,23}</property>
        <property name="Name">[oSayMQUANT]</property>
        <property name="Caption">[Quantidade do Produto/Indice de Consumo:]</property>
        <property name="Justify">[Right]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Arial" width="0" height="-16" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{357,51,16,16}</property>
        <property name="Name">[oboPCOD]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">7</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_PCOD','N','S',8,6,'','','','EXIBA',oPCOD,)]]>
      </method>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{433,151,16,16}</property>
        <property name="Name">[oboPCODINSUMO]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_PCODINSUMO','N','S',8,6,'','','','EXIBA',oPCODINSUMO,)]]>
      </method>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{852,293,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">{942,293,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>
