[Boa Constr] Adding images to an application
Status: Beta
Brought to you by:
riaan
From: Gordon W. <gor...@ya...> - 2005-05-24 22:11:58
|
Dear Boa Users I'm a relative newbie to Boa and wx, but I'd like to know the best way to get around this problem ... If I create an application with e.g. a bitmap button, I can specify the bitmap's file path in its properties and then it appears on the button. No problems yet. The trouble is, if I move the image file, my application is now broken and it complains that the bitmap is no longer available. Is there a way of importing the bitmap into my application as a resource to eliminate the dependence of the application on an external image file path? Is there a way of assigning that resource to the bitmap property of the bitmap button in the form designer? I would also like to be able to freeze my app once it's built and I would like to make it as easy as possible to bundle the bitmap image with the application. Thanks Gordon |