I have several imageViews that share a click event subroutine.
Is it possible for me to call that event programmatically for a given imageView instance?
That is, code something like "imageView1.click", so that the sub gets called and the Sender object is set to that view instance.
Background - I have a palette of tools, and I'd like to select one of them by default when the app starts. So I figured I would "click" the tool I want in the activity.create sub.
Better ideas also welcome for this particular problem, but also interested in the more general question of triggering events programmatically.
Thanks!
Is it possible for me to call that event programmatically for a given imageView instance?
That is, code something like "imageView1.click", so that the sub gets called and the Sender object is set to that view instance.
Background - I have a palette of tools, and I'd like to select one of them by default when the app starts. So I figured I would "click" the tool I want in the activity.create sub.
Better ideas also welcome for this particular problem, but also interested in the more general question of triggering events programmatically.
Thanks!