Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-select Listbox - Color Issues
Message
 
 
À
09/09/2002 06:25:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00698158
Message ID:
00698248
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

I did not ever thought it could be a big training issue, because almost everywhere in Windows it is used in the same role. For example, look to the Windows Explorer for files - multi-selection is implemented there by the same way. Anyway, if you think so...

You can control items cooring in list box by using a popup as a source for list box. However, it causes a cople of limitations:
- you will have no scroll bar and will have arrows instead for scrolling similar to what you have with very long menu
- You will have no mover bar feature if it is needed
- multi-select is possible with certain tricks

With popup you can control colors of disabled, selected and current item. I do not know for sure, but seems this even will not require programming - just correct defining of colors in DEFINE BAR ... COLOR RGB(R,G,B,R,G,B), ... command. There are 10 pairs of colors you can define for different states of the list item.

>Hi Vlad,
>
>Yes, I did see the dotted rectangle for the Active item. But for an end-user, who worked with single-select listbox earlier, working with multi-select listbox without any proper indication of active item, may become a difficult training issue. Actually this is a moverlist application and grids implementation will be highly difficult. BTW, how did you do this color management for your application ie which property or algorithm you used?
>
>Thanx anyways.
>Hitendra
>
>>Hi!
>>
>>Active item is in the dotted rectangle. Did you see it?
>>
>>You can organize colored highlighting of active item, but this would be hard, have a lot of limitations and coding etc. I think this is not needed. We did this in one application and performance is terrible.
>>
>>You can also use grid instead of list box that gives much more power and functionality. This is another level of programming though (more complex) and also require programming, but you get much more features and possibilities.
>>
>>>Hi,
>>>
>>>In a single-select Listbox, by default, the Active or the current Item appears with a blue background. But in a multi-select Listbox, the Active Item doesn't appear in a different color and is difficult to identify. Is there any property setting or piece of code, by which the Active item appears in a different color? Also this color must be different from the Selected color otherwise the user won't be able to differentiate between an Active Item and a Selected Item.
>>>
>>>Thanx, in advance.
>>>Hitendra
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform