× Components and Libraries for Algorithms Development, discussions, problems and suggestions

Question Missing icons in treeview and listview

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago - 5 years 2 months ago #7337 by Jan Roza
Missing icons in treeview and listview was created by Jan Roza
I noticed that when Abbrevia shows the content of a zip file the views lacks folder and file icons (see attached screenshot).
For the icons in the folder treeview I've found a bugfix which I implemented in AbComCtrls.pas, but unfortunately I haven't been able to solve it for the file listview.
Maybe the PL team can have a look at that annoying bug.
I tried to attach the fixed AbComCtrls.pas here as well but the forum won't accept my attachment, how can I send you the fixed module?
When you got my fix I hope you can update the Abbrevia package with it and hopefully you're able to fix the file listview as well.

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Attachments:
Last edit: 5 years 2 months ago by Jan Roza.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago #7339 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Thanks Sir
we will try to solve the problem
I will report here

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago - 5 years 2 months ago #7340 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
Sternas how can I upload my fixed AbComCtrls.pas to you?

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Last edit: 5 years 2 months ago by Jan Roza.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago #7341 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Simple zip or 7zip and attract here
to a post (Add File)



PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7342 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
Okay.
I tried to attach the pas file directly but that did not work.
Here's the zipped fixed file.

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago #7343 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Thanks Sir
we will try ASAP

PS: for Forum Images and Files attachments please look here

at the bottom of the page 15. Images and Files attachments

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7344 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
Thanks!
In the screenshot you can see that the folder list has icons after this fix, only the file list is still missing the icons (red arrow).

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago #7345 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
We will fix and add to Lab CT

PS: nice plane, I miss to fly so much :(

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7346 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
You mean the Goevier?
I fly her too little as mounting and demounting takes so much time for this oldtimer.
But weekly I still fly Ka-8, LS-4 or Astir.
No place as good as in the air :-)

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
The following user(s) said Thank You: Sternas Stefanos

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago #7347 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Yes I know :silly:
you are lucky man (WARNING: to Check-List procedures)

T41D , T-37C , T-2C (total 200 Hours)
F-5 A/B and NF-5 A/B (1500 Hours, Test Pilot, Flight Instructor, Squadron Leader)
T-6A Texan II (1500 Hours, Test Pilot, Flight Instructor, Squadron Leader)
F-16 C/D Block 30, 50 and 52+ ADV (600 Hours, Test Pilot, Flight Instructor, Squadron Leader)
the end...

Just a couple of Flights with:
M-2000-5, Su-27, F-15D, F-4 Phantom II, A-7 Corsair II

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7349 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
Impressive list!

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago - 5 years 2 months ago #7350 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Here the first Fix
pl_Abbrevia is Multi-OS library not olny for windows
icons is in AbComCtrls.res

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 5 years 2 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7351 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
That's quick!
It works for both the folder tree as for the file list but icons are not very beautiful (native icons would be more elegant).
The file icons all are one and the same no matter what the file extension of the file is, would be nice if this could be filled with the icons that the OS would use for the corresponding files.
For now this fix is workable but I hope you'll continue to try and let Abbrevia use the same icons the OS would use. :unsure:

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 months ago - 5 years 2 months ago #7352 by Sternas Stefanos
Replied by Sternas Stefanos on topic Missing icons in treeview and listview
Do you want to change icons at run time ?
We can add this functionality

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 months ago #7353 by Jan Roza
Replied by Jan Roza on topic Missing icons in treeview and listview
That's right, I want the list and the tree to show the icons associated with the file.
See the (Delphi) example in the screenshot, it's the same Abbrevia tree and list and as you can see from the file icons pdf files show the Foxit reader icon and graphics show the IrfanView icon as is set in the Windows file associations.
So in Delphi Abbrevia already follows the file association settings of the OS (Windows in this case).
So the icon setting should be dynamic and follow the file association setting of the OS, that's the idea.

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #9230 by Anis GH
Replied by Anis GH on topic Missing icons in treeview and listview
Hi :) ,

I know this is late.
But I want to know if there is any way to add icons to the ablistview

regards
GH.Anis

Please Log in or Create an account to join the conversation.