<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{47,56,1027,670}</property>
    <property name="Name">[osot.tel]</property>
    <property name="Caption">[Ordem de Servico - OTICA - 01]</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,osoSayCR_COD_CLI,osoSayfvendedor,osoSayCRM,osoSayLOD_PCOD,osoSayLOE_PCOD,osoSayarm_pcod,osoSayCP_COD_FOR}    </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 ),)
SET(5,1960) 
//skel variavel zNil = abra_arq("se_prod")
//skel variavel zNil = abra_arq("sccrcli")
//skel variavel zNil = DbSelectArea("osot")
//skel variavel m_cr_cep=""
//skel variavel m_cr_fone=""
//skel variavel m_cr_rua=""
//skel variavel m_cr_bairro=""
//skel variavel m_cr_cidade=""
//skel variavel m_cr_fone=""
//skel variavel m_cr_uf=""
//skel variavel zbDadosCli = {||sccrcli->(m_cr_cep:=cr_cep,m_cr_fone:=cr_fone,m_cr_rua:=cr_rua,m_cr_bairro:=cr_bairro,m_cr_cidade:=cr_cidade,m_cr_uf:=cr_uf), refreshGetList()}
//skel comando antes m_fNumOs = if(x_operacao=1, reccount()+1, m_fNumOs)
//skel comando antes m_hHora= if(x_operacao=1, time(), m_fHora)
//skel comando antes m_fatprecno = if(type("m_fatprecno")="U" .or. x_operacao=1, 0, m_fatprecno)
//skel comando antes m_fDataPed = if(day(m_fDataPed)=0.or.x_operacao=1, date(), m_fDataPed)
//skel comando antes m_fHORA = if(empty(m_fHORA).or. x_operacao=1, left(time(),5), m_fHORA)
//skel comando antes m_fDtPrevEnt = if(day(m_fDtPrevEnt)=0 .or. x_operacao=1, date(), m_fDtPrevEnt)
//skel comando antes m_fHrPrevEnt = if(empty(m_fHrPrevEnt).or. x_operacao=1, left(time(),5), m_fHrPrevEnt)
//skel comando saida sccrcli->(DbCloseArea())
//skel comando saida se_prod->(DbCloseArea())]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{4,637,1011,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{2,0,1011,635}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="group">
      <style>
        <property name="Geometry">{8,18,876,62}</property>
        <property name="Name">[oGroup9]</property>
        <property name="TabIndex">1</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{315,46,65,23}</property>
          <property name="Name">[ofvendedor]</property>
          <property name="varName">[m_fvendedor]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">4</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">1</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[LASTKEY()=5.OR.PSQ_BROW('SF_VEND','PSFVEND','M_FVENDEDOR','N','N',6,20,'NOME','@S20','',,ofvendedor,osoSayfvendedor)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{14,45,97,23}</property>
          <property name="Name">[oFnumOs]</property>
          <property name="varName">[m_fNumOs]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">2</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="datepicker">
        <style>
          <property name="Geometry">{121,44,103,23}</property>
          <property name="Name">[ofdataped]</property>
          <property name="varName">[m_fdataped]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">3</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{14,26,89,16}</property>
          <property name="Name">[oSayFNUMPED]</property>
          <property name="Caption">[OS]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">3</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{815,27,62,16}</property>
          <property name="Name">[oLabel15]</property>
          <property name="Caption">[HoraPrev]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">4</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{234,27,62,16}</property>
          <property name="Name">[oLabel11]</property>
          <property name="Caption">[Hora]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">4</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{121,26,91,16}</property>
          <property name="Name">[oSayfdataped]</property>
          <property name="Caption">[Data Compra]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">4</property>
        </style>
      </part>
      <part class="datepicker">
        <style>
          <property name="Geometry">{710,44,103,23}</property>
          <property name="Name">[ofDtPrevEnt]</property>
          <property name="varName">[m_fDtPrevEnt]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">5</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{710,26,85,16}</property>
          <property name="Name">[oSayfdatasai]</property>
          <property name="Caption">[Prev.Entrega]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">6</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{319,28,60,19}</property>
          <property name="Name">[oSayfvendedor]</property>
          <property name="Caption">[Cod.Vnd]</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">7</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{405,27,114,19}</property>
          <property name="Name">[oLabel6]</property>
          <property name="Caption">[Atendente/Vendedor]</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">7</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{815,45,60,23}</property>
          <property name="Name">[ofHrPrevEnt]</property>
          <property name="varName">[m_fHrPrevEnt]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[99:99]</property>
          <property name="nMaxLength">5</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">24</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{236,45,60,23}</property>
          <property name="Name">[ofHora]</property>
          <property name="varName">[m_fhora]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[99:99]</property>
          <property name="nMaxLength">5</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">24</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{404,46,236,22}</property>
          <property name="Name">[osoSayfvendedor]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">70</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{383,52,16,16}</property>
          <property name="Name">[obofvendedor]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">77</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SF_VEND','PSFVEND','M_FVENDEDOR','N','N',6,20,'NOME','@S20','','EXIBA',ofvendedor,osoSayfvendedor)]]>
        </method>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{8,93,535,70}</property>
        <property name="Name">[oGroup4]</property>
        <property name="Caption">[Cliente]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">2</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{12,131,85,23}</property>
          <property name="Name">[oCR_COD_CLI]</property>
          <property name="varName">[m_CR_COD_CLI]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[999999]</property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">2</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[LASTKEY()=5.OR.PSQ_BROW('SCCRCLI','PSCCRCLI','M_CR_COD_CLI','N','N',4,20,'CR_NOME','@S35','',,oCR_COD_CLI,osoSayCR_COD_CLI)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{12,111,48,20}</property>
          <property name="Name">[oSayCR_COD_CLI]</property>
          <property name="Caption">[Codigo]</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">2</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{114,111,48,20}</property>
          <property name="Name">[oLabel5]</property>
          <property name="Caption">[Nome]</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">2</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{122,131,379,22}</property>
          <property name="Name">[osoSayCR_COD_CLI]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">69</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{102,137,16,16}</property>
          <property name="Name">[oboCR_COD_CLI]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">76</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SCCRCLI','PSCCRCLI','M_CR_COD_CLI','N','N',4,20,'CR_NOME','@S35','','EXIBA',oCR_COD_CLI,osoSayCR_COD_CLI)]]>
        </method>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{8,175,535,154}</property>
        <property name="Name">[oGroup10]</property>
        <property name="TabIndex">3</property>
      </style>
      <part class="datepicker">
        <style>
          <property name="Geometry">{13,211,103,23}</property>
          <property name="Name">[omdatarecei]</property>
          <property name="varName">[m_mdatarecei]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">3</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{124,211,97,23}</property>
          <property name="Name">[oCRM]</property>
          <property name="varName">[m_CRM]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">4</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[PSQ_BROW('VB_CRM','PVBCRM','M_CRM','N','S',7,35,'MEDICO','@S30','',,oCRM,osoSayCRM)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{13,194,98,16}</property>
          <property name="Name">[oSaymdatarecei]</property>
          <property name="Caption">[Data Receita]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">5</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{13,295,78,23}</property>
          <property name="Name">[oAmetropia]</property>
          <property name="varName">[m_Ametropia]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">7</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{13,276,66,16}</property>
          <property name="Name">[oSayAmetropia]</property>
          <property name="Caption">[Ametropia]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">8</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{142,194,56,16}</property>
          <property name="Name">[oSayCRM]</property>
          <property name="Caption">[Medico]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">9</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{13,238,82,22}</property>
          <property name="Name">[oSayobs]</property>
          <property name="Caption">[Observações:]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">10</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{97,239,438,81}</property>
          <property name="Name">[oObs]</property>
          <property name="varName">[m_obs]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </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[// editor(@M_CR_OBS,'Observacoes Adicionais',10,05,20,75)
RETURN .T.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{251,211,283,22}</property>
          <property name="Name">[osoSayCRM]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">71</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{227,217,16,16}</property>
          <property name="Name">[oboCRM]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">78</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('VB_CRM','PVBCRM','M_CRM','N','S',7,35,'MEDICO','@S30','','EXIBA',oCRM,osoSayCRM)]]>
        </method>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{550,175,407,73}</property>
        <property name="Name">[oGroup2]</property>
        <property name="Caption">[LONGE]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="700"/>
        </property>
        <property name="TabIndex">4</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{591,202,42,18}</property>
          <property name="Name">[oL_OD_ESF]</property>
          <property name="varName">[m_L_OD_ESF]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">
[Indica o grau de Hipermetropia, se for numero positivo, ou grau de Miopia, se for numero negativo]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">24</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{594,185,34,16}</property>
          <property name="Name">[oSayL_OD_ESF]</property>
          <property name="Caption">[Esferico]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">25</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{635,202,42,18}</property>
          <property name="Name">[oL_OD_cil]</property>
          <property name="varName">[m_L_OD_cil]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica grau de astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">25</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{635,185,45,16}</property>
          <property name="Name">[oSayL_OD_cil]</property>
          <property name="Caption">[Cililindrico]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">26</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{680,202,42,18}</property>
          <property name="Name">[oL_OD_eixo]</property>
          <property name="varName">[m_L_OD_eixo]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica o eixo do grau do astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">26</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[IF .NOT. (m_l_od_eixo>=0.AND.m_l_od_eixo<=180)
   MsgINFO('O eixo do grau do astigmatismo deve estar entre 0 e 180')
   RETURN .f.
ENDIF
RETURN .t.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{681,185,28,16}</property>
          <property name="Name">[oSayL_OD_eixo]</property>
          <property name="Caption">[Eixo]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">27</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{724,202,42,18}</property>
          <property name="Name">[oL_OD_dnp]</property>
          <property name="varName">[m_L_OD_dnp]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[99]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica a Distância Pupilar]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">27</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{723,185,28,16}</property>
          <property name="Name">[oSayL_OD_dnp]</property>
          <property name="Caption">[DNP]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">28</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{795,202,42,18}</property>
          <property name="Name">[oL_OD_altur]</property>
          <property name="varName">[m_L_OD_altur]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">28</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{795,185,28,16}</property>
          <property name="Name">[oSayL_OD_altur]</property>
          <property name="Caption">[Altura]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">29</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{859,202,42,18}</property>
          <property name="Name">[oL_OD_prism]</property>
          <property name="varName">[m_L_OD_prism]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica o grau de Estrabismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">30</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{862,185,32,16}</property>
          <property name="Name">[oSayL_OD_prism]</property>
          <property name="Caption">[Prisma]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">31</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{905,202,42,18}</property>
          <property name="Name">[oL_OD_base]</property>
          <property name="varName">[m_L_OD_base]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">
[Se a orientação do Prisma for por Base, indique se é Superior, Inferior, Nasal ou Temporal. Se a orientacao for por eixo, indique a posicao do prisma de 0 a 180o]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">31</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{904,185,28,16}</property>
          <property name="Name">[oSayL_OD_base]</property>
          <property name="Caption">[Base]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">32</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{591,224,42,18}</property>
          <property name="Name">[oL_Oe_ESF]</property>
          <property name="varName">[m_L_Oe_ESF]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">
[Indica o grau de Hipermetropia, se for numero positivo, ou grau de Miopia, se for numero negativo]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">35</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{635,224,42,18}</property>
          <property name="Name">[oL_Oe_cil]</property>
          <property name="varName">[m_L_Oe_cil]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indique grau de astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">36</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{680,224,42,18}</property>
          <property name="Name">[oL_Oe_eixo]</property>
          <property name="varName">[m_L_Oe_eixo]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica o eixo do grau do astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">37</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[  IF .NOT. (m_l_oe_eixo>=0.AND.m_l_oe_eixo<=180)
   MsgINFO('O eixo do grau do astigmatismo deve estar entre 0 e 180')
   RETURN .f.
ENDIF
RETURN .t.
]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{724,224,42,18}</property>
          <property name="Name">[oL_Oe_dnp]</property>
          <property name="varName">[m_L_Oe_dnp]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[99]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica a Distância Pupilar]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">38</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{795,224,42,18}</property>
          <property name="Name">[oL_Oe_altur]</property>
          <property name="varName">[m_L_Oe_altur]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">39</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{859,224,42,18}</property>
          <property name="Name">[oL_Oe_prism]</property>
          <property name="varName">[m_L_Oe_prism]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica o grau de Estrabismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">41</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{905,224,42,18}</property>
          <property name="Name">[oL_Oe_base]</property>
          <property name="varName">[m_L_Oe_base]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="nMaxLength">5</property>
          <property name="ToolTip">
[Se a orientação do Prisma for por Base, indique se é Superior, Inferior, Nasal ou Temporal. Se a orientacao for por eixo, indique a posicao do prisma de 0 a 180o]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">42</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{559,223,31,19}</property>
          <property name="Name">[oLabel2]</property>
          <property name="Caption">[O.E.]</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1003</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{560,202,31,19}</property>
          <property name="Name">[oLabel1]</property>
          <property name="Caption">[O.D.]</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1003</property>
        </style>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{550,248,409,81}</property>
        <property name="Name">[oGroup3]</property>
        <property name="Caption">[PERTO]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="700"/>
        </property>
        <property name="TabIndex">5</property>
      </style>
      <part class="label">
        <style>
          <property name="Geometry">{593,259,34,16}</property>
          <property name="Name">[oLabel7]</property>
          <property name="Caption">[Esferico]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">25</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{634,259,45,16}</property>
          <property name="Name">[oLabel8]</property>
          <property name="Caption">[Cililindrico]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">26</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{680,259,28,16}</property>
          <property name="Name">[oLabel9]</property>
          <property name="Caption">[Eixo]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">27</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{722,259,28,16}</property>
          <property name="Name">[oLabel10]</property>
          <property name="Caption">[DNP]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">28</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{795,259,35,16}</property>
          <property name="Name">[oLabel12]</property>
          <property name="Caption">[Adição]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">30</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{861,259,32,16}</property>
          <property name="Name">[oLabel13]</property>
          <property name="Caption">[Prisma]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">31</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{903,259,28,16}</property>
          <property name="Name">[oLabel14]</property>
          <property name="Caption">[Base]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial Narrow" width="0" height="-11" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">32</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{591,277,42,18}</property>
          <property name="Name">[oP_OD_ESF]</property>
          <property name="varName">[m_P_OD_ESF]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">
[Indica o grau de Hipermetropia, se for numero positivo, ou grau de Miopia, se for numero negativo]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">46</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{636,277,42,18}</property>
          <property name="Name">[oP_OD_cil]</property>
          <property name="varName">[m_P_OD_cil]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica grau de astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">47</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{680,277,42,18}</property>
          <property name="Name">[oP_OD_eixo]</property>
          <property name="varName">[m_P_OD_eixo]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica o eixo do grau do astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">48</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[   IF .NOT. (m_p_od_eixo>=0.AND.m_p_od_eixo<=180)
   MsgINFO('O eixo do grau do astigmatismo deve estar entre 0 e 180')
   RETURN .f.
ENDIF
RETURN .t.
]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{724,277,42,18}</property>
          <property name="Name">[oP_OD_dnp]</property>
          <property name="varName">[m_P_OD_dnp]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indique a Distância Pupilar]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">49</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{795,277,42,18}</property>
          <property name="Name">[oP_OD_adic]</property>
          <property name="varName">[m_P_OD_adic]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9.99]</property>
          <property name="nMaxLength">5</property>
          <property name="ToolTip">
[Indica o grau de Presbiopia ou Vista Cansada, para perto]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">51</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{859,277,42,18}</property>
          <property name="Name">[oP_OD_prism]</property>
          <property name="varName">[m_P_OD_prism]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica o grau de Estrabismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">52</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{905,277,42,18}</property>
          <property name="Name">[oP_OD_base]</property>
          <property name="varName">[m_P_OD_base]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="nMaxLength">5</property>
          <property name="ToolTip">
[Se a orientação do Prisma for por Base, indique se é Superior, Inferior, Nasal ou Temporal. Se a orientacao for por eixo, indique a posicao do prisma de 0 a 180o]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">53</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{591,299,42,18}</property>
          <property name="Name">[oP_Oe_ESF]</property>
          <property name="varName">[m_P_Oe_ESF]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">
[Indica o grau de Hipermetropia, se for numero positivo, ou grau de Miopia, se for numero negativo]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">57</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{636,299,42,18}</property>
          <property name="Name">[oP_Oe_cil]</property>
          <property name="varName">[m_P_Oe_cil]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica grau de astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">58</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{680,299,42,18}</property>
          <property name="Name">[oP_Oe_eixo]</property>
          <property name="varName">[m_P_Oe_eixo]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indica o eixo do grau do astigmatismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">59</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[   IF .NOT. (m_p_oe_eixo>=0.AND.m_p_oe_eixo<=180)
   MsgINFO('O eixo do grau do astigmatismo deve estar entre 0 e 180')
   RETURN .f.
ENDIF
RETURN .t.
]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{724,299,42,18}</property>
          <property name="Name">[oP_Oe_dnp]</property>
          <property name="varName">[m_P_Oe_dnp]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[9999]</property>
          <property name="nMaxLength">4</property>
          <property name="ToolTip">[Indique a Distância Pupilar]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">60</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{859,299,42,18}</property>
          <property name="Name">[oP_Oe_prism]</property>
          <property name="varName">[m_P_Oe_prism]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="cPicture">[999.99]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">[Indica o grau de Estrabismo]</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">63</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{905,299,42,18}</property>
          <property name="Name">[oP_Oe_base]</property>
          <property name="varName">[m_P_Oe_base]</property>
          <property name="font">
            <font name="Arial" width="0" height="-12" weight="700"/>
          </property>
          <property name="nMaxLength">5</property>
          <property name="ToolTip">
[Se a orientação do Prisma for por Base, indique se é Superior, Inferior, Nasal ou Temporal. Se a orientacao for por eixo, indique a posicao do prisma de 0 a 180o]          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">64</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{559,277,31,19}</property>
          <property name="Name">[oLabel3]</property>
          <property name="Caption">[O.D.]</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1003</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{560,299,31,19}</property>
          <property name="Name">[oLabel4]</property>
          <property name="Caption">[O.E.]</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1003</property>
        </style>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{7,338,994,112}</property>
        <property name="Name">[oGroup6]</property>
        <property name="Caption">[Produtos]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="700"/>
        </property>
        <property name="TabIndex">6</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{95,370,70,23}</property>
          <property name="Name">[oLOD_PCOD]</property>
          <property name="varName">[m_LOD_PCOD]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">10</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[m_LOD_PCOD=0.OR.(PSQ_BROW('SE_PROD','PSEPROD','M_LOD_PCOD','N','S',10,23,'PDESC','@S30','',,oLOD_PCOD,osoSayLOD_PCOD).and.(m_lod_pVenda:=se_prod->pVluVenda,m_Lod_Mat:=se_prod->pMaterial,RefreshGetlist()))]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{21,375,71,16}</property>
          <property name="Name">[oSayLOD_PCOD]</property>
          <property name="Caption">[Lente O.D.]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">11</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{622,370,225,23}</property>
          <property name="Name">[olod_mat]</property>
          <property name="varName">[m_lod_mat]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">11</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{95,351,47,18}</property>
          <property name="Name">[oLabel18]</property>
          <property name="Caption">[Codigo]</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">11</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{623,351,70,16}</property>
          <property name="Name">[oSaylod_mat]</property>
          <property name="Caption">[Material]</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">{854,370,130,23}</property>
          <property name="Name">[olod_pvenda]</property>
          <property name="varName">[m_lod_pvenda]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[999999.99]</property>
          <property name="nMaxLength">9</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">12</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{95,395,70,23}</property>
          <property name="Name">[oLOE_PCOD]</property>
          <property name="varName">[m_LOE_PCOD]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">13</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[m_LOe_PCOD=0.OR.(PSQ_BROW('SE_PROD','PSEPROD','M_LOE_PCOD','N','S',11,23,'PDESC','@S30','',,oLOE_PCOD,osoSayLOE_PCOD).and.(m_loe_pVenda:=se_prod->pVluVenda,m_Loe_Mat:=se_prod->pMaterial,RefreshGetlist()))]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{856,351,90,16}</property>
          <property name="Name">[oSaylod_pvenda]</property>
          <property name="Caption">[Preco de Venda]</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">13</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{622,395,225,23}</property>
          <property name="Name">[oloE_mat]</property>
          <property name="varName">[m_loE_mat]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">14</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{22,401,71,16}</property>
          <property name="Name">[oSayLOE_PCOD]</property>
          <property name="Caption">[Lente O.E.]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">14</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{854,395,130,23}</property>
          <property name="Name">[oloE_pvenda]</property>
          <property name="varName">[m_loE_pvenda]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[999999.99]</property>
          <property name="nMaxLength">9</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">15</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{95,420,70,23}</property>
          <property name="Name">[oarm_pcod]</property>
          <property name="varName">[m_arm_pcod]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">16</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[m_arm_PCOD=0.OR.(PSQ_BROW('SE_PROD','PSEPROD','M_ARM_PCOD','N','S',12,23,'PDESC','@S30','',,oarm_pcod,osoSayarm_pcod).and.(m_arm_pVenda:=se_prod->pVluVenda,m_Arm_Mat:=se_prod->pMaterial,RefreshGetlist()))]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{30,426,61,16}</property>
          <property name="Name">[oSayarm_pcod]</property>
          <property name="Caption">[Armação]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="700"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">17</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{622,420,225,23}</property>
          <property name="Name">[oARM_mat]</property>
          <property name="varName">[m_ARM_mat]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">17</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{854,420,130,23}</property>
          <property name="Name">[oARM_pvenda]</property>
          <property name="varName">[m_ARM_pvenda]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="cPicture">[999999.99]</property>
          <property name="nMaxLength">9</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">18</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{190,372,425,21}</property>
          <property name="Name">[osoSayLOD_PCOD]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">72</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{190,398,425,21}</property>
          <property name="Name">[osoSayLOE_PCOD]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">73</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{190,422,425,21}</property>
          <property name="Name">[osoSayarm_pcod]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">74</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{169,377,16,16}</property>
          <property name="Name">[oboLOD_PCOD]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">79</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_LOD_PCOD','N','S',10,23,'PDESC','@S30','','EXIBA',oLOD_PCOD,osoSayLOD_PCOD)]]>
        </method>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{169,402,16,16}</property>
          <property name="Name">[oboLOE_PCOD]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">80</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_LOE_PCOD','N','S',11,23,'PDESC','@S30','','EXIBA',oLOE_PCOD,osoSayLOE_PCOD)]]>
        </method>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{168,427,16,16}</property>
          <property name="Name">[oboarm_pcod]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">81</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_ARM_PCOD','N','S',12,23,'PDESC','@S30','','EXIBA',oarm_pcod,osoSayarm_pcod)]]>
        </method>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{7,454,432,67}</property>
        <property name="Name">[oGroup7]</property>
        <property name="Caption">[Medidas da Armacao]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="700"/>
        </property>
        <property name="TabIndex">7</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{19,488,100,23}</property>
          <property name="Name">[oMEDID_DIAG]</property>
          <property name="varName">[m_MEDID_DIAG]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">8</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">19</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{20,469,96,16}</property>
          <property name="Name">[oSayMEDID_DIAG]</property>
          <property name="Caption">[Diagonal Maior]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">20</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{125,488,100,23}</property>
          <property name="Name">[oMEDID_hori]</property>
          <property name="varName">[m_MEDID_hori]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">8</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">20</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{128,469,84,16}</property>
          <property name="Name">[oSayMEDID_hori]</property>
          <property name="Caption">[Horizontal]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">21</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{228,488,100,23}</property>
          <property name="Name">[oMEDID_pont]</property>
          <property name="varName">[m_MEDID_pont]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">8</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">21</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{231,469,49,16}</property>
          <property name="Name">[oSayMEDID_pont]</property>
          <property name="Caption">[Ponte]</property>
          <property name="BackColor">16777215</property>
          <property name="font">
            <font name="Arial" width="0" height="-13" weight="400"/>
          </property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">22</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{331,488,100,23}</property>
          <property name="Name">[oMEDID_vert]</property>
          <property name="varName">[m_MEDID_vert]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">8</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">22</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{334,469,70,16}</property>
          <property name="Name">[oSayMEDID_vert]</property>
          <property name="Caption">[Vertical]</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">23</property>
        </style>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{446,454,555,67}</property>
        <property name="Name">[oGroup8]</property>
        <property name="Caption">[Fornecedor ou Laboratorio]</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="700"/>
        </property>
        <property name="TabIndex">8</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{454,486,70,23}</property>
          <property name="Name">[oCP_COD_FOR]</property>
          <property name="varName">[m_CP_COD_FOR]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="700"/>
          </property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">23</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[m_cp_cod_for=0.or.PSQ_BROW('SCCPFOR','PSCCPFOR','M_CP_COD_FOR','N','N',16,35,'CP_NOME','@S30','',,oCP_COD_FOR,osoSayCP_COD_FOR)]]>
        </method>
        <method name="onGetFocus">
          <![CDATA[x_operacao=1.or.x_operacao=2]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{454,467,84,16}</property>
          <property name="Name">[oSayCP_COD_FOR]</property>
          <property name="Caption">[Codigo]</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">24</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{549,467,84,16}</property>
          <property name="Name">[oLabel19]</property>
          <property name="Caption">[Nome]</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">24</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{548,489,444,21}</property>
          <property name="Name">[osoSayCP_COD_FOR]</property>
          <property name="Caption">[...]</property>
          <property name="font">
            <font name="Arial" width="0" height="-16" weight="400"/>
          </property>
          <property name="Border">.T.</property>
          <property name="TabIndex">75</property>
        </style>
      </part>
      <part class="ownerbutton">
        <style>
          <property name="Geometry">{528,496,16,16}</property>
          <property name="Name">[oboCP_COD_FOR]</property>
          <property name="BtnBitmap">[smPreview]</property>
          <property name="lResource">.T.</property>
          <property name="TabIndex">82</property>
        </style>
        <method name="onClick">
          <![CDATA[PSQ_BROW('SCCPFOR','PSCCPFOR','M_CP_COD_FOR','N','N',16,35,'CP_NOME','@S30','','EXIBA',oCP_COD_FOR,osoSayCP_COD_FOR)]]>
        </method>
      </part>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{13,540,246,22}</property>
        <property name="Name">[oLink1]</property>
        <property name="Caption">[Tudo Sobre Oculos: Blog do Paulus]</property>
        <property name="Link">
[http://www.blogdopaulus.com/2013/12/parte-1-interpretacao-de-receita-e.html]        </property>
        <property name="TabIndex">1012</property>
      </style>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{13,566,246,22}</property>
        <property name="Name">[oLink2]</property>
        <property name="Caption">[Entendendo receitas com Prisma]</property>
        <property name="Link">
[http://www.blogdopaulus.com/2012/12/entendendo-receitas-com-prisma.html]        </property>
        <property name="TabIndex">1013</property>
      </style>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{13,592,246,22}</property>
        <property name="Name">[oLink3]</property>
        <property name="Caption">[Calculo de Diametros para Lentes]</property>
        <property name="Link">
[http://www.blogdopaulus.com/2012/06/calculo-de-diametro-para-lentes-de.html]        </property>
        <property name="TabIndex">1014</property>
      </style>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{292,540,311,22}</property>
        <property name="Name">[oLink4]</property>
        <property name="Caption">[Informacoes gerais antes da compra do oculos]</property>
        <property name="Link">
[http://www.blogdopaulus.com/2012/11/10-Coisas.html]        </property>
        <property name="TabIndex">1015</property>
      </style>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{292,566,311,22}</property>
        <property name="Name">[oLink5]</property>
        <property name="Caption">[Medico de Olhos - Entendendo a receita]</property>
        <property name="Link">
[http://www.medicodeolhos.com.br/2010/07/entenda-receita-dos-seus-oculos.html]        </property>
        <property name="TabIndex">1016</property>
      </style>
    </part>
    <part class="link">
      <style>
        <property name="Geometry">{292,592,311,22}</property>
        <property name="Name">[oLink6]</property>
        <property name="Caption">[Medindo seus oculos]</property>
        <property name="Link">
[http://compradeoculos.com.br/pages/Medindo-seus-%F3culos-.html]        </property>
        <property name="TabIndex">1017</property>
      </style>
    </part>
    <part class="button">
      <style>
        <property name="Geometry">{857,573,147,30}</property>
        <property name="Name">[oButton1]</property>
        <property name="Caption">[&amp;Gera Pedido]</property>
        <property name="TabIndex">1018</property>
      </style>
      <method name="onClick">
        <![CDATA[Keyb_event(79,,.f.,.f.,.t.)
zFgConfirmouGerarPedido:=.t.
]]>
      </method>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{877,641,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">{950,641,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>
