OS/2, eCS & ArcaOS - Technical > Applications
DBExpert
Bernt_Z:
Can anyone tell me howto change bitmap path to bitmaps. Currently those reside in DBEXPERT folder, I want to move the bitmap pics to another folder.
Bernt_Z:
Oh, forgot, it's in the Form tab.
Jan-Erik Lärka:
To create a bitmap control that displays a picture from a disk file:
1.Click the bitmap control tool [tree and house] in the control tool box
2.Click on the form where you want the top left corner of the bitmap to appear
3.Set the Source attribute to =LoadPicture(`filename') where filename is the name of the file the picture is in. For example, =LoadPicture( `os2.bmp' )
____
Skip to 3. to adjust existing bitmap control and specify the path to the bitmap.
I think you may need to specify the full path or no path, but try if you can use relative path with "..\" for parent folder, something like ..\..\other\WHOOPI.BMP for parents-parent-folder-containing-folder-other-with-bitmap
Bernt_Z:
Sorry, but it didn't work out
If I undetstood right, some examples:
=LoadPicture(\PICS\bildfil) relative
=LoadPicture(E:\MUSICPIC\bildfil) absolute. It doesn't matter if I use Drive letyer or not.
I apprechiate all suggestions!
Thanks, Bernt Zurcher
Bernt_Z:
To clearify:
E:\DBEXPERT\ pictures location
E:\DBEXPERT\
E:\DBEXPERT\PICS\ alternative to pics location
E:\DBEXPERT\TUTORIAL\ where my application is located
E:\MUSICPIC\ where I prefer pics
Navigation
[0] Message Index
[#] Next page
Go to full version