<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{108,169,775,499}</property>
    <property name="Name">[CB_BICO.scr]</property>
    <property name="Caption">[Bicos Cadastrados]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Arial" 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">.F.</property>
    <property name="FromStyle">[Center]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.F.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">14215660</property>
    <property name="Icon">[]</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,5,5,54,54)
hwg_TbMt(oToolbar,'22;tb_insert(D_OB);Ins-Inclui ;Inclui Novo Registro;xml\icon\insc.ico;28;28;;;')
hwg_TbMt(oToolbar,'65;tb_update(D_OB);A-Altera ;Altera Registro;xml\icon\altera.ico;28;28;;;')
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
hwg_TbMt(oToolbar,'22;browcaixacombustiveis("AbreBico",,,codbico);Abre Bico;Abre Bico;xml\icon\bomba_bico_open.ico;28;28;;;')
hwg_TbMt(oToolbar,'22;Browcaixacombustiveis("FechaBico",,,codbico);Fecha Bico;Fecha Bico;xml\icon\bomba_bico_close.ico;28;28;;;')
hwg_TbMt(oToolbar,'22;browcaixacombustiveis("AfericaoFiscal",,,codbico);Aferição Fiscal;Efetua Aferição emitindo cupom Fiscal;xml\icon\bico.ico;28;28;;;')
//hwg_TbMt(oToolbar,'22;Browcaixacombustiveis("AfericaoNaoFiscal",,,codbico);Aferição Estoque;Efetua Aferição sem emitir cupom Fiscal;xml\icon\insc.ico;28;28;;;')
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
hwg_TbMt(oToolbar,'80;tb_pesq(D_OB);P-Pesquisa ;P - Pesquisa;xml\icon\pesq.ico;32;32;;;')
hwg_TbMt(oToolbar,'79;tb_index(D_OB);O-Ordena ;O - Ordena;xml\icon\ordena.ico;28;28;;;')
hwg_TbMt(oToolbar,'73;ExecutaXML("dlgrelat");I-Imprime ;I - Imprime;xml\icon\print.ico;28;28;;;')
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
sGuiDoGetFree:=.t.
hwg_TbMt(oToolbar,'0;;;espaco;espaco;')
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="panel">
    <style>
      <property name="Geometry">{0,0,767,63}</property>
      <property name="Name">[oToolbar]</property>
      <property name="Anchor">11</property>
    </style>
  </part>
  <part class="status">
    <style>
      <property name="Geometry">{0,469,775,30}</property>
      <property name="Name">[oStatus1]</property>
      <property name="aParts">{640,160,0}</property>
    </style>
  </part>
  <part class="browse">
    <style>
      <property name="Geometry">{5,63,763,400}</property>
      <property name="Name">[D_oB]</property>
      <property name="TabIndex">13</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, 'Cod.Bico;CODBICO;N;9999;  4;N;')
hwg_TbFi(D_oB, 'Descricao do Bico;DESC;C;@S30; 30;N;')
hwg_TbFi(D_oB, 'Cod.Produto;PCOD;N;99;  2;;')
hwg_TbFi(D_oB, 'Situação do Bico;SITUACAO;C;@S8; 8;N;')
hwg_TbFi(D_oB, 'TurnoCX;SI_CAIXA;N;99;  8;N;')
hwg_TbFi(D_oB, 'ValorVenda;Mvalor;N;99999.99;  8;N;')
hwg_TbFi(D_oB, 'ValorAfer;mvalorafer;N;99999.99;  8;N;')
hwg_TbFi(D_oB, 'PosicaoCX;SI_NUMFECH;N;999999;  10;N;')
D_oB:Alias := alias()
D_oB:bOther:={|o,m,wp,lp| MessagesBrowse(o,m,wp,lp)}
D_oB:cargo:={.T.,.T.,"CB_BICO",.F.,.T.,{||.T.} }
AADD(aBrowses,{D_oB,D_oB:Alias,{||.f.},{|| .T.},})]]>
    </method>
    <method name="onSize">
      <![CDATA[Parameters oCtrl,x,y 
oCtrl:move(,,x-10,y-95) ]]>
    </method>
  </part>
</part>
