I wanted to define a focused Text-color.
It seems, it only works together with something like :
oLbx:nMarqueeStyle := MARQSTYLE_HIGHLROW
I need this !!!!
-----------------
It only works with :
oLbx:nMarqueeStyle := MARQSTYLE_HIGHLROW
but the row is not transparent with this selection.
--------------------------------------------------------
- Code: Select all Expand view
AADD(aTEXT1, { "This is Textline 1" })
AADD(aTEXT1, { "This is Textline 2" })
AADD(aTEXT1, { "This is Textline 3" })
AADD(aTEXT1, { "This is Textline 4" })
AADD(aTEXT1, { "This is Textline 5" })
AADD(aTEXT1, { "This is Textline 6" })
AADD(aTEXT1, { "This is Textline 7" })
// 16777215 = white
// 65535 = yellow
oLbx2 := TXBrowse():New( oFld:aDialogs[2] )
// oLbx2:nMarqueeStyle := MARQSTYLE_HIGHLROW
// ----------------------------------------------------------
oLbx2:nColDividerStyle := LINESTYLE_BLACK
oLbx2:nRowDividerStyle := LINESTYLE_BLACK
oLbx2:nRecSelColor := 14592854 // Record-Selector
oLbx2:bClrStd := { || { 16777215, } } // Text and background
oLbx2:bClrSelFocus := { || { 65535, 128 } } // Focus-Color
// --------------------------------------------------------------------------------
oLbx2:bClrSel = { || { 0, 65535 } } // Lost Focus
oLbx2:SetArray( aTEXT1 )
// !!!!!!
oLbx2:cBmpAdjBrush := "Tree.bmp"
oLbx2:SetBackGround( "Tree.bmp" )
// !!!!!!
oLbx2:aCols[ 1 ]:cHeader = Padr("Info", 150)
oLbx2:lHScroll := .T.
oLbx2:lVScroll := .T.
oLbx2:lFooter := .T.
oLbx2:lRecordSelector := .T.
oLbx2:CreateFromResource( 210 )
Regards
Uwe