Author Topic: Importing images  (Read 1889 times)

richmond62

  • Newbie
  • *
  • Posts: 20
Importing images
« on: June 05, 2015, 05:44:13 AM »
How does one import an image?

Can one use an image as a button?

I can find answers to neither of these in the documentation.

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 381
  • Here to help you
Re: Importing images
« Reply #1 on: June 05, 2015, 06:14:00 PM »
How does one import an image?

Can one use an image as a button?

I can find answers to neither of these in the documentation.

Yes, one can use an image on a button but it has to be in imported image.

To import an image into Creator :-

1) Use menu Windows item Image Library.

2) When the image library is open just drag an image into the list box.

3) Close the image library.

4) Select your button and on Properties toolbar is an option to assign an image.
      there us also a checkbox for scaling the image to fit the button or to expand it to fully fit the button.


A more flexible way is to use a Canvas control and load an image at runtime because that way the image could be switched or drawn into.

There isn't much information on the Image Library apart from a small section in Chapter 2 of the Language Reference PDF and the in-built Help.

Some of the demo projects use buttons(canvases), I think Analyser,  Solar System and perhaps some others.




I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.