Forum Discussion
Manfred_F
10 years agoRegular Contributor
You probably do use Aliases.
Aliases are not capable to handle multiple instances of anything.
They get You - as I experienced it - always the first instance of whatever.
To deal with multiple instances, You
- use the alias to see whether at least one instance of Your target Dialog is visible
- if true, navigate the control tree (e.g. see the dialog's control siblings) to find any additional instance (it will have the same .mappedName)
If You do not really Need multi-instance handling, You can solve Your Problem by adding the .Visible = true property to Your alias. This will make Your terminated first instance a no-match and will get You the second, visible one.