Sele b
go top
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-14 BOLD
DEFINE FONT oFont1 NAME 'TAHOMA' SIZE 0,16 BOLD
DEFINE FONT oFont7 NAME "TAHOMA" SIZE 0,-12 BOLD
DEFINE DIALOG oDlg SIZE 500,550 PIXEL FONT oFont STYLE nOr( WS_POPUP, WS_VISIBLE, WS_DLGFRAME )
@ 00,10 SAY otitu PROMPT Titu SIZE 450,15 PIXEL OF oDlg COLORS RGB(12, 135, 27) FONT oFont1
@ 30,10 XBROWSE oBrw SIZE -10,-40 PIXEL OF oDlg DATASOURCE "&Nro_usu3" ;
HEADERS 'Tipo Exa', 'Fecha', 'Cantidad','Total...';
COLUMNS "Tip_Ate","Fec_Emi","Can_Exa","Tot_Exa";
PICTURES '@!','@d','9,999,999','9,999,999,999';
CELL LINES AUTOSORT NOBORDER;
// oBrw:nFreeze := 3
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:nColDividerStyle := LINESTYLE_INSET
oBrw:nRowDividerStyle := LINESTYLE_INSET
oBrw:bClrHeader := {|| { nRGB(140, 0, 0), nRGB( 231, 242, 255 ), } }
oBrw:nOpacity := 230
oBrw:aCols[01]:bFooter := { || Ltrim( Str( oBrw:KeyNo() ) ) + " / " + LTrim( Str( oBrw:KeyCount() ) ) }
oBrw:aCols[ 4]:nDataStrAlign := AL_RIGHT
oBrw:bClrStd := {|| { nRGB( 0, 0, 0), nRGB(255,248,220) } }
oBrw:bClrSelFocus := {|| { nRGB( 255, 255, 255), nRGB(102, 178, 255) } }
oBrw:aCols[3]:cEditPicture := "9,999,999"
oBrw:aCols[3]:nFooterType := AGGR_TOTAL
oBrw:aCols[4]:cEditPicture := "9,999,999,999"
oBrw:aCols[4]:nFooterType := AGGR_TOTAL
oBrw:MakeTotals()
oBrw:bChange := {|| oBrw:Maketotals() }
WITH OBJECT oBrw
:lFooter := .t.
oBrw:lHScroll := .f.
oBrw:lIncrFilter := .f.
oBrw:lSeekWild := .F. && .T. Busca Contenido, .F. Que comience con lo que digita
oBrw:SetStyle( 2018)
oBrw:nColorPen := CLR_RED
oBrw:nStretchCol := STRETCHCOL_WIDEST
oBrw:CreateFromCode()
END
@ 243,040 BTNBMP SIZE 30,30 PROMPT "IMPRIME" OF oDlg PIXEL 2007 Resource "#8002" FONT oFont7 ;
ToolTip "Imprime Informe"
//ACTION (Rep_TarSeg(Titu),oDlg:Refresh())
@ 243,120 BTNBMP SIZE 30,30 PROMPT "RESUMEN" OF oDlg PIXEL 2007 Resource "#8002" FONT oFont7 ;
ToolTip "Imprime Informe"
@ 243,190 BTNBMP SIZE 30, 30 PROMPT "VOLVER" OF oDlg PIXEL 2007 Resource "#8028" FONT oFont7 ;
ToolTip "VOLVER";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED ON INIT ( oBrw:SetFocus() )