Forum > Designer

How to change an image when program is running

(1/1)

Anonymous:
For example:

You whant to make a digital clock, where digits are images, you need to change the digits when  program is runnig.

Is there any procedure or function to make it possible?

In other words, how can I change the picture property?

Thanks.

Anonymous:
Better way is to use TImageList component. So, load your images in it and just change the index of the image you wanna to display.

I think there was method TPicture.LoadFromFile('/file/name/here.ext')

-------
Anarki

Navigation

[0] Message Index

Go to full version