Recent

Author Topic: TreeView and disabled image  (Read 3813 times)

Dibo

  • Hero Member
  • *****
  • Posts: 1048
TreeView and disabled image
« on: September 03, 2010, 09:47:49 pm »
Hi,

TImageList have procedure GetBitmap with TGraphicsDrawEffect param. So I can get gdeDisabled (grayed) version of icon. But how can I switch Icon to gdeDisabled on custom TreeNode? I can only change ImageIndex, StateIndex etc but without effects :/

Regards.

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: TreeView and disabled image
« Reply #1 on: September 04, 2010, 09:40:22 pm »
I created a patch. I hope that will be accepted ;)
**://bugs.freepascal.org/view.php?id=17348

 

TinyPortal © 2005-2018