>The way to change the highlighted (selected) item in a list box is to change the selected() index property to true.
>For example if you want indexed item number 10 to be selected for a list box named list1, do:
>THISFORM.LIST1.SELECTED(10)=.T.
>
Is there a way to set the color of each line of a list box?
The SelectedItemBackColor and forcolor only apply to the selected /
active line but do show the ability to color diferenly an individual
line within a list box. Perhaps making my own sub-classed ListBox?
**** Visual AccountMate Authorized Dealer *****
Specializing in Visual Foxpro system development
using State of the Art RAD tools (Visual ProMatrix,
FoxExpress, Codebook) to provide fast, inexpensive,
SOLID end user systems. (If only it were that easy )