Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making ListBox Lines different Colors
Message
De
03/08/1996 14:33:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Making ListBox Lines different Colors
Divers
Thread ID:
00005026
Message ID:
00005026
Vues:
107
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?

I've got a calendar (Visual Calendar). The Month view was made up
of combo boxes. I changed them to ListBoxs so all of the appointments
could be instantly seen. Now I'd like to assign a different color
to the appointments based on who's appointment it is.

Failing in this is it possible to display an ICON on each listbox item
line? I think it accepts only character / numeric though I haven't tried
it yet. I'm using ControlSourcetype=5 (array). Can an array hold a
BMP?

If none of these work I guess I may have to replace the ListBoxs with
Grids?

Any suggestions would be appreciated.
**** 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 )
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform