button ICON

Klaus major-k klaus at major-k.de
Mon Apr 22 11:30:09 EDT 2019


Hi Bob,

> Am 22.04.2019 um 17:10 schrieb Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>:
> 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 <use-livecode at lists.runrev.com> 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
klaus at major-k.de





More information about the use-livecode mailing list