Page 1 of 1

Picture change in runtime

Posted: Fri Oct 19, 2012 4:55 am
by philip.joebstl
Hello,

I'm a creating a project on T7A-Panel with experiencing the following Problem:

The customer wants a Home-Screen where a Picture (Schema) lies in the background. In the foreground I made some Buttons for Measurement-Points, these Buttons can be positioned anywhere on this Picture.
But this Picture is to change with any machine the customer builds, so he wants to make the picture changeable at runtime.

I couldn't do this with the normal Picture-Object, because I found no way to change the Picture with it. So I used a PictureBox-Control of the Framework.
And here goes the Problem: this PictureBox lies always on the top of the Page, even if it is send to back or used in a template. So the controls that should be in front are lying behind, not visible.

Is there a way to solve this Problem, or have you maybe some better way to do the application I need?

Thanks for your help!

Re: Picture change in runtime

Posted: Fri Oct 19, 2012 8:04 am
by mark.monroe
A multi-picture allows you to change a picture based on the tag value. Use that and then change the tag value when you want a different picture.
Snap 2012-10-19 at 08.03.48.png
Snap 2012-10-19 at 08.03.48.png (65.35 KiB) Viewed 5406 times