Back

Tip 43. Avoid using Full Paths for Bitmaps.

Powerbuilder always inserts a full path for bitmaps specified in a picture control or for toolbar icons.
This can cause problems if the project is moved to another location. Correcting the problem could be very time consuming if the application is large.

You can remove the path and only specify the bitmap file. You must however copy the bitmaps to the directory that contains the application pbl. When compiled Powerbuiler will find the images. The applications pbr file must also specify the bitmaps without a path.

Any images that are not compiled into the application must be placed in the directory with the executable.

Added before 01 Jan 2000

Back