I was responding to Tom Glod's question, "why do u need to use images without loading them into the stack?" This technique can be used to make buttons with graphics portable, which is the root of the question.
Bob S > On Apr 22, 2019, at 08:30 , Klaus major-k via use-livecode > <[email protected]> wrote: > > Hi Bob, > >> Am 22.04.2019 um 17:10 schrieb Bob Sneidar via use-livecode >> <[email protected]>: >> I guess this goes way back to a long standing conversation as to the way >> buttons with graphics work in the first place. Let's say you have a group >> with several buttons. You now want to copy it to another project. Since the >> graphics are ALREADY OPEN in the project you copied from the button graphics >> *seem* to display fine. Until you quit livecode then open the target project >> by itself. No graphics! >> ... >> on newBackground >> ... >> end newBackground > > thanks, but that is not I was looking (or asking) for. > >>> On Apr 20, 2019, at 09:36 , Klaus major-k via use-livecode >>> <[email protected]> wrote: >>> Hi friends, >>> I have a vague memory that we can use images as icons in buttons WITHOUT >>> putting them in an image object first. Am I right or was I dreaming? :-) > > I obviously mixed this somehow with IMAGESOURCE where we can actually: > ... > set the imagesource of char 1 of fld 1 to "binfile:path/on disk/to > your/image.jpg" > ... > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
