Hi there
How can I include pictures in the application? In my program I set the filename of the images, but when I save the standalone application it needs the imagefiles outside. Thanks for any help.
Best, Fredi
image library
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: image library
Hi Fredi,
Look at the "import as control" of the file menu to import the pictures
If you want have the picture outside you must build the path of the folder it contains the pictures
Be careful, the path is different for a stack or for a standalone (the standalone is a package)
I hope this help
Best
Jean-Marc
Look at the "import as control" of the file menu to import the pictures
If you want have the picture outside you must build the path of the folder it contains the pictures
Be careful, the path is different for a stack or for a standalone (the standalone is a package)
I hope this help
Best
Jean-Marc
https://alternatic.ch
-
- Posts: 38
- Joined: Mon Jan 03, 2011 5:42 pm
Re: image library
Hi Jean-Marc
Thanks. And how can I put the same image in a other image-object. Bevor I have done this with:
set the filename of image "bild1" to the filename of image "leer" on card "resources"
Fredi
Thanks. And how can I put the same image in a other image-object. Bevor I have done this with:
set the filename of image "bild1" to the filename of image "leer" on card "resources"
Fredi
Re: image library
Hi Fredi,
Yes for a picture with a filename
If the picture is imported you can use
You can check the "import" entry of the dictionnary for infos about diffrents types of images
All the best
Jean-Marc
Code: Select all
set the filename of image "bild1" to the filename of image "leer" on card "resources"
If the picture is imported you can use
Code: Select all
set the text of image "bild1" to the text of image "leer" on card "resources"
All the best
Jean-Marc
https://alternatic.ch
Re: image library
Hi all,
instead of copying an image from one card to another, I always use buttons (disabled/no border/showname = false)
and set their ICON to the ID of the original images!
Noone will tell the difference and this will save some resources
Best
Klaus
instead of copying an image from one card to another, I always use buttons (disabled/no border/showname = false)
and set their ICON to the ID of the original images!
Noone will tell the difference and this will save some resources

Best
Klaus