Le 15 sept. 06 à 04:57 Matin, Brian Heibert a écrit:
Is it possible to change the color of selected items
I want to have a listbox that uses a dark color to match the
brushed metal window
Yes, use the CellBackGroundPaint event.
add this to the end of this event:
if row<me.ListCount and me.selected(row) then 'This row needs to
be selected
g.foreColor=RGB(127,127,127) 'grey
g.fillrect 0,0,g.width,g.height
return true
end if
If you're using RB version 5.5 or previous, you can remove the
"row<me.ListCount" part.
Also, I don't know if changing the colour of selection complies with
the apple guideline interface._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>