 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
m Guest
|
Posted: Fri Feb 03, 2006 1:05 am Post subject: TIcon - Icon image is not valid |
|
|
Hi,
I'm trying to load a typical icon (16x16) using TIcon and I get an error
"Icon image is not valid." The icon image is valid and readable by D5,
because I can load it into a TImageList component using the IDE's Image
List Editor.
Anybody know why icons might not load into TIcon and how to get around
that? What I'm trying to do overall is to load some icons from disk and
store them in a TImageList component, and those icons need to be loaded
programmatically since they icons might change over time. E.g. I just
parse a dir looking for .ico files and load them.
Any help would be appreciated.
Thanks
Mark
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|