Referencing images in a DLL or EXE file

In PocketBuilder 2.5 you can select a numbered icon or bitmap from a DLL or EXE file and deploy it with your application to a mobile device or emulator. In all visual controls where you can select a BMP file, you can also select a DLL or EXE, although after the DLL or EXE listing, you must type in a semicolon and the number of the image in the file that you want to use.

You can also use the same syntax for selecting an image for DataWindow expression functions, DataWindow object properties, and PowerScript® image property settings and function calls. For example, to set a disabled icon for a picture button with the twelfth icon in a file called iconfile.DLL, you can use the following script:

pb_1.DisabledName = "d:\pbhelp\iconfile.DLL;12"