Picture change in runtime

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
philip.joebstl
Posts: 26
Joined: Tue Oct 09, 2012 12:56 am

Picture change in runtime

Post 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!
Best regards,
Philip Joebstl

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Picture change in runtime

Post 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 5393 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply