Can i do this????
From: Vertuas (vertuas_at_[nospam)
Date: 01/13/05
- Next message: Maarten Wiltink: "Re: Questions about freeing objects"
- Previous message: Stefan Bellon: "Re: Looking for a hash table"
- Next in thread: Rob Kennedy: "Re: Can i do this????"
- Reply: Rob Kennedy: "Re: Can i do this????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 13 Jan 2005 18:55:08 GMT
Hi all,
The application I am working on uses Runtime packages, therefore any
components I write have to be supplied in a runtime package (gggrrrrrr).
Now I want to include some bitmaps in my components to make them look
pretty, but I don't want lots on .bmp file hanging around. All the
component in my packages have to be created at runtime, as some of the
packages act as "plugins" to the main application.
What is the best way of including a bitmap in a runtime package and being
able to use it?? The tow methods I can think of are causing problems :-
1) somehow store the bitmap info as a string value and load this value into
a tbitmap when needed. Can't do this as I cannot directly manipulate the
bitmap data very easily.
2) Store the bitmap as a resource in the .bpl and use
tbitmap.LoadResourceName(). This would be the better solution if it is
possible. If it is possible how do I get a handle to the runtime package?
Can I store the bmp in the .DCR file and access it?
Please help
Kind Regards
Vertuas
- Next message: Maarten Wiltink: "Re: Questions about freeing objects"
- Previous message: Stefan Bellon: "Re: Looking for a hash table"
- Next in thread: Rob Kennedy: "Re: Can i do this????"
- Reply: Rob Kennedy: "Re: Can i do this????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]