Hi,
How i can display a image (in .res file) on xbrowse column depending on the content? The field is logical.
Thanks.
Wanderson.
Hi,
How i can display a image (in .res file) on xbrowse column depending on the content? The field is logical.
Thanks.
Wanderson.
//---------------- Imágen ---------------
oCol := :AddCol()
oCol:AddResource( 6001 )
oCol:AddResource( 6002 )
oCol:bBmpData := {|| IIf( ::oDbfTemp:c_nohist, 1, 2 ) }
oCol:lBmpStretch := .f.
oCol:lBmpTransparent := .t.
oCol:nHeadStrAlign := oCol:nDataBmpAlign := AL_CENTER
oCol:cHeader := "P"
oCol:nWidth := 18
//----------------------------------------Wanderson wrote:Hi,
How i can display a image (in .res file) on xbrowse column depending on the content? The field is logical.
Thanks.
Wanderson.
oCol:SetCheck( { "RESOURCENAME", nil } )jmartial wrote:Hello Wanderson,
   //---------------- Imágen ---------------    oCol := :AddCol()    oCol:AddResource( 6001 )    oCol:AddResource( 6002 )    oCol:bBmpData     := {|| IIf( ::oDbfTemp:c_nohist, 1, 2 ) }    oCol:lBmpStretch    := .f.    oCol:lBmpTransparent  := .t.    oCol:nHeadStrAlign   := oCol:nDataBmpAlign := AL_CENTER    oCol:cHeader      := "P"    oCol:nWidth      := 18    //----------------------------------------
nageswaragunupudi wrote:Wanderson wrote:Hi,
How i can display a image (in .res file) on xbrowse column depending on the content? The field is logical.
Thanks.
Wanderson.
After including this logical column also in the xbrowse in the usual way
oCol:SetCheck( { "RESOURCENAME", nil } )