Because of a new computer, i'm working with
Windows Vista now.
I noticed a funny effect when changing the focus
between browsers in a dialog :
The rows in the other browsers, where the cursor has been before,
when i change the focus, are changing to black.
In windows 2000 it is ok.
I use nothing special
- Code: Select all Expand view RUN
// Browser 1
oLbx1 := TXBrowse():New( oFld:aDialogs[1] )
oLbx1:nMarqueeStyle := MARQSTYLE_HIGHLROW
oLbx1:nColDividerStyle := LINESTYLE_BLACK
oLbx1:nRowDividerStyle := LINESTYLE_BLACK
oLbx1:SetArray( aBRCOLOR1 )
oLbx1:aCols[ 1 ]:cHeader = Padr("No.", 3)
oLbx1:aCols[ 2 ]:cHeader = Padr("Start", 19)
oLbx1:lHScroll := .F.
oLbx1:lVScroll := .F.
oLbx1:lFooter := .F.
oLbx1:bLClicked := { | nRow, nCol | Bs_START := oLbx1:nRowSel, ;
Bs_COLOR1 := B_COLORS(Bs_START), oB_COLOR1:Refresh(), ;
oBMP3:Refresh(), oBMP4:Refresh(), oBMP5:Refresh(), oBMP6:Refresh(), ;
oBMP7:Refresh(), oBMP8:Refresh(), oBMP9:Refresh(), ;
oBMP10:Refresh(), oBMP11:Refresh(), oBMP12:Refresh(), ;
oBMP18:Refresh() }
oLbx1:aCols[ 2 ]:AddResource("Black")
oLbx1:aCols[ 2 ]:AddResource("White")
oLbx1:aCols[ 2 ]:AddResource("Blue")
oLbx1:aCols[ 2 ]:AddResource("Green")
oLbx1:aCols[ 2 ]:AddResource("Red")
oLbx1:aCols[ 2 ]:AddResource("Yellow")
oLbx1:aCols[ 2 ]:AddResource("Magenta")
oLbx1:aCols[ 2 ]:AddResource("Farbwahl")
oLbx1:aCols[ 2 ]:bBmpData := {|| oLbx1:nArrayAt }
oLbx1:aCols[ 2 ]:bStrData := {|| oLbx1:aRow[2] }
oLbx1:CreateFromResource( 210 )
I notice this effect the first time.
Regards
Uwe [/code]