Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3755

FTView SE VBA Image Change

$
0
0

Hi, I am trying to change an image on a screen at runtime based on a user selection.

            With Me.FindElement(strObject)
                .Image = button
                .Width = 50
                .Height = 50
                .Top = 82
            End With

This does not work, and i can see that .Image is not an option for image, yet it shows on the property panel.

StrObject is the image object that needs to be changed

The variable button is a string that is the image title.

Is there any way to do this? Any help would be appreciated.

 

Thanks

Coxie


Viewing all articles
Browse latest Browse all 3755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>