<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{456,194,790,582}</property>
    <property name="Name">[SF_ROMA2.scr]</property>
    <property name="Caption">[Criar/Alterar Lotes de NFs p/ NFe]</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\sccrcli.scr.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
//skel VARIAVEL w_colsep = chr(179)
//skel VARIAVEL w_headsep = chr(196)
oContextMenu:=Hwg_ContextMenu()
hwg_Btn(oToolbar,22,27,54,54)
hwg_TbMt(oToolbar,'22;tb_insert(D_OB);Ins-Inclui ;INS-Inclui;xml\icon\add.jpg;28;28;;;')
hwg_TbMt(oToolbar,'65;tb_update(D_OB);A-Altera ;Altera;xml\icon\alterar.jpg;28;28;;;')
hwg_TbMt(oToolbar,'80;tb_pesq(D_OB);P-Pesquisa ;Pesquisa;xml\icon\pesquisa.jpg;28;28;;;')
hwg_TbMt(oToolbar,'79;tb_index(D_oB);O-Ordena ;Ordena;xml\icon\ordena.jpg;28;28;;;')
hwg_TbMt(oToolbar,'32;tb_cons();Barra-Exibe ;Barra - Exibe;xml\icon\visualizar.jpg;28;28;;;')
hwg_TbMt(oToolbar,'73;lst_alias(D_OB);I-Imprime ;I - Imprime;xml\icon\impressora.jpg;28;28;;;')
hwg_TbMt(oToolbar,'7;tb_del(D_ob);DEL-DELeta ;DEL - Deleta;xml\icon\deleta.jpg;28;28;;;')
d_ob:lEditable = .t.
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
hwg_Btn(oToolbar,650,460,54,54)
hwg_TbMt(oToolbar,'27;hwg_oDlgKey(oDlg, 27, nBrwAtivo);Saida;Saida;xml\icon\saida.ico;28;28;;;;')
SetDlgKey(oDlg,8,26,{|| (aBrowses[nBrwAtivo,2])->(moveRec(aBrowses[nBrwAtivo,1],"UP"))})
SetDlgKey(oDlg,8,28,{|| (aBrowses[nBrwAtivo,2])->(moveRec(aBrowses[nBrwAtivo,1],"DOWN"))})
Hwg_EndMenu()]]>
  </method>
  <method name="onPaint">
    <![CDATA[Parameters oCtrl,hDC
oCtrl:bpaint:=NIL
D_oB:setFocus()]]>
  </method>
  <part class="status">
    <style>
      <property name="Geometry">{0,552,790,30}</property>
      <property name="Name">[oDlgStatusBar]</property>
      <property name="aParts">{640,160,0}</property>
    </style>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{25,118,741,331}</property>
      <property name="Name">[D_oB]</property>
      <property name="Anchor">240</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| (aBrowses[nBrwAtivo,2])->(hwg_oDlgKey(self, wparam,1)) , .T. }
hwg_TbFi(D_oB, 'Lote;froman;N;999999;  6;N;')
hwg_TbFi(D_oB, 'NF;fnum;N;999999;  6;;')
hwg_TbFi(D_oB, 'Ok?;nfe_valid;C;!!!!;4;;')
hwg_TbFi(D_oB, 'DANFE;nfe_prt;C;!;5;;')
hwg_TbFi(D_oB, 'DtLote;fData;D;;  8;;')
hwg_TbFi(D_oB, 'Stat;NFE_CSTAT;C;9999;4;;')
hwg_TbFi(D_oB, 'nProt;nfe_nprot;C;@18;18;;')
hwg_TbFi(D_oB, 'Email;nfe_email;C;!;5;;')
hwg_TbFi(D_oB, 'Obs;nfe_xmotiv;C;@S58;10;;')
hwg_TbFi(D_oB, 'Chave;nfe_chnfe;C;@S44;44;;')
hwg_TbFi(D_oB, 'XML;nfe_xml;C;@S75;74;;')
hwg_TbFi(D_oB, 'nRec;nfe_nrec;C;@18;18;;')
D_oB:Alias := alias()
D_oB:bOther:={|o,m,wp,lp| MessagesBrowse(o,m,wp,lp)}
D_oB:cargo:={.T.,.T.,"SF_ROMAN",.F.,.T.,{||.T.} }
AADD(aBrowses,{D_oB,D_oB:Alias,{||.f.},{|| .T.},})]]>
    </method>
  </part>
</part>
