<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{439,201,601,490}</property>
    <property name="Name">[ARR_NOT.scr]</property>
    <property name="Caption">[Pedidos a Receber]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Verdana" width="0" height="-13" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Private]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.F.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="FromStyle">[Center]</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">14215660</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\arr_not.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.T.</property>
    <property name="Minimizebox">.T.</property>
    <property name="Maximizebox">.T.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onDlgInit">
    <![CDATA[parameters oDlg
oContextMenu:=Hwg_ContextMenu()
hwg_Btn(oToolbar,40,25,54,54)
hwg_TbMt(oToolbar,'22;novo_ped(D_OB,"SP_MOVFN");Ins-Cria_Vazio ;INS-Inclui;xml\icon\add.jpg;47;47;;;')
hwg_TbMt(oToolbar,'7;dlped(nrow,D_oB,.t.);Del-Cancela ;DEL-Deleta;xml\icon\deleta.jpg;47;47;;;')
hwg_TbMt(oToolbar,'13;slped(nrow,"SP_MOVFN");Enter-Seleciona ;Enter - Seleciona;xml\icon\enter.jpg;47;47;;;')
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
hwg_TbMt(oToolbar,'65;atped(nrow,D_oB,0);A-Atualiza_Dic ;A - Atualiza_Dic;xml\icon\a.jpg;47;47;;;')
hwg_TbMt(oToolbar,'69;pf_etiq(nrow,"E");E-Etiquetas ;E - Etiquetas;xml\icon\e.jpg;47;47;;;')
hwg_TbMt(oToolbar,'73;pf_espimport(nrow,d_ob);I-Importa_Espelho ;I - Importa_Espelho;xml\icon\i.jpg;47;47;;;')
hwg_TbMt(oToolbar,'82;pf_entr(nrow,D_oB);R-Confirma_Entrada ;R - Confirma_Entrada;xml\icon\r.jpg;47;47;;;')

hwg_Btn(oToolbar,530,376,54,54)
hwg_TbMt(oToolbar,'27;hwg_oDlgKey(oDlg, 27, nBrwAtivo);Saida;Saida;xml\icon\saida.ico;47;47;;;')

Hwg_EndMenu()
d_ob:bEdit:={||.t.}]]>
  </method>
  <method name="onPaint">
    <![CDATA[Parameters oCtrl,hDC
oCtrl:bpaint:=NIL
D_oB:setFocus()]]>
  </method>
  <part class="status">
    <style>
      <property name="Geometry">{0,460,601,30}</property>
      <property name="Name">[oDlgStatusBar]</property>
      <property name="aParts">{408,102,0}</property>
    </style>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{11,110,574,250}</property>
      <property name="Name">[D_oB]</property>
      <property name="BrwType">[array]</property>
      <property name="TabIndex">4</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[nBrwAtivo:=1]]>
    </method>
    <method name="onInit">
      <![CDATA[D_oB:bColorSel:= RGB(3,23,133)
D_oB:tColorSel:= RGB(255,255,255)
D_oB:bKeyDown := {|self, wParam| hwg_oDlgKey(self, wparam,1) , .T. }
AEval( v_ped[1], {|eLemento,nRow| aadd(hwgArray, {v_ped[1,nRow],v_ped[2,nRow],v_ped[3,nRow]}) } )
D_oB:DelColumn(1)

hwg_TbFi(D_oB, 'Fornecedor;hwgArray[nRow,1];C;@s20; 20;;')
hwg_TbFi(D_oB, 'Ped;substr(hwgArray[nRow,2],if(s_e_4forn="S",6,5),if(s_e_4forn="S",3,4));C;@s4;  4;;')
hwg_TbFi(D_oB, 'Data       Hora;hwgArray[nRow,3];C;@s17; 17;;')
D_oB:Alias := ""

D_oB:bOther:={|o,m,wp,lp| MessagesBrowse(o,m,wp,lp)}
D_oB:cargo:={.T.,.T.,"ARR_NOT",.F.,.T.,{||.T.} }
d_ob:bEdit := {|D_oB| nKey:=13,slped(nrow,"SP_MOVFN")}
// d_ob:bEdit := {|D_oB| .t.}
AADD(aBrowses,{D_oB,D_oB:Alias,{||.f.},{|| .T.},})

d_ob:lEditable = .f.]]>
    </method>
  </part>
</part>
