oBrwVen := TXBrowse():New( oDlg1 )
oBrwVen:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrwVen:nColDividerStyle := LINESTYLE_LIGHTGRAY
oBrwVen:nRowDividerStyle := LINESTYLE_LIGHTGRAY
oBrwVen:bSeek := {|c| DbSeek( Upper( c ) ) }
oBrwVen:bChange := {||VEI->(OrdScope(0,cNLoja+VEN->nupd)),VEI->(OrdScope(1,cNLoja+VEN->nupd)),VEI->(DbGoTop()),oBrwVen2:GoTop(),oBrwVen2:Refresh()}
oCol := oBrwVen:AddCol()
oCol:cHeader := "Venda"
oCol:bStrData := { || VEN->nupd }
oCol:nDataStrAlign := AL_LEFT
oCol:nHeadStrAlign := AL_LEFT
oCol:nWidth := 71
oCol:bLClickHeader := {|| Checa_Indices(1,1,oBrwVen,"VEN") }
oCol:AddBmpFile( "BLANK.BMP", .T. )
oCol:AddBmpFile( "CLIP.BMP", .T. )
oCol:nHeadBmpNo := 1
....
....
oBrwVen2 := TXBrowse():New( oDlg1 )
oBrwVen2:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrwVen2:nColDividerStyle := LINESTYLE_LIGHTGRAY
oBrwVen2:nRowDividerStyle := LINESTYLE_LIGHTGRAY
oCol := oBrwVen2:AddCol()
oCol:cHeader := "Venda"
oCol:bStrData := { || VEN->nupd }
oCol:nDataStrAlign := AL_LEFT
oCol:nHeadStrAlign := AL_LEFT
oCol:nWidth := 71
oCol:bLClickHeader := {|| Checa_Indices(1,1,oBrwVen,"VEN") }
oCol:AddBmpFile( "BLANK.BMP", .T. )
oCol:AddBmpFile( "CLIP.BMP", .T. )
oCol:nHeadBmpNo := 1
....
....
Hide Hide window Syntax: TWindow:Hide() \\ Purpose: Hides the window, and brings another one to the top.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: cmsoft, Google [Bot] and 60 guests