feature requ.: define background colors by file type
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In principle, a grid would be no problem - I do draw lines when using the duplicate file finder and feed to listbox. However, I want to avoid the vertical lines, because they would restrict the space where the file name etc. can be shown - so the space would be used far worse than it is now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
You are right. Christian uses some TListBox for files panel, and he just needs to add to this Listbox coloring of background for each item (e.g., in OnOwnerDraw event)Hacker wrote: I think we could also have ellipses or filled polygons instead of filenames if Christian wanted to. So I think defining a custom background is technically possible.
If it works the way I think it does.
Regards,
Re: Good news
No, he don't need grid.Clo wrote:¤ I didn't think that isn't possible, but only: "Does Ch. Ghisler want to implement this, while he's not in favour of a grid" ...
Just to add coloring of items background.
It's possible for his TListbox, because selected item(under cursor) is colored with background color ("Interted cursor" is checked).
Regards,
@Sheepdog
The meaning of acronyms can be found here http://www.ghisler.ch/board/viewtopic.php?t=124&highlight=acronyms.

The meaning of acronyms can be found here http://www.ghisler.ch/board/viewtopic.php?t=124&highlight=acronyms.
