Welcome, Guest
Username: Password: Remember me
Components and Libraries for Algorithms Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Missing icons in treeview and listview 8 years 6 months ago #7337

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop
Attachments:

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

Last edit: by Jan Roza.

Missing icons in treeview and listview 8 years 6 months ago #7339

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
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.

Missing icons in treeview and listview 8 years 6 months ago #7340

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
Sternas how can I upload my fixed AbComCtrls.pas to you?
Operating Systems Windows 10 (64-bit), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

Last edit: by Jan Roza.

Missing icons in treeview and listview 8 years 6 months ago #7341

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
Simple zip or 7zip and attract here
to a post (Add File)


PilotLogic Architect and Core Programmer

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

Missing icons in treeview and listview 8 years 6 months ago #7342

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop
Attachments:

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

Missing icons in treeview and listview 8 years 6 months ago #7343

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
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.

Missing icons in treeview and listview 8 years 6 months ago #7344

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop
Attachments:

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

Missing icons in treeview and listview 8 years 6 months ago #7345

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
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.

Missing icons in treeview and listview 8 years 6 months ago #7346

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop
The following user(s) said Thank You: Sternas Stefanos

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

Missing icons in treeview and listview 8 years 6 months ago #7347

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
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.

Missing icons in treeview and listview 8 years 6 months ago #7349

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
Impressive list!
Operating Systems Windows 10 (64-bit), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

Missing icons in treeview and listview 8 years 6 months ago #7350

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
Here the first Fix
pl_Abbrevia is Multi-OS library not olny for windows
icons is in AbComCtrls.res
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Missing icons in treeview and listview 8 years 6 months ago #7351

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

Missing icons in treeview and listview 8 years 6 months ago #7352

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4490
  • Thank you received: 1090
Do you want to change icons at run time ?
We can add this functionality
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Missing icons in treeview and listview 8 years 6 months ago #7353

  • Jan Roza
  • Jan Roza's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 149
  • Thank you received: 5
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop
Attachments:

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

Missing icons in treeview and listview 7 years 8 months ago #9230

  • Anis GH
  • Anis GH's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
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.

  • Page:
  • 1