Thanks Shankar,
The line if(HomeButton.Exists && HomeButton.VisibleOnScreen)
HomeButton.Exists return true
HomeButton.VisibleOnScreen return false
Although the object appears visible on screen
I've tried to refresh
var BreadScrumpTree = Aliases.QuickDesign_ConfigurationManager.BreadsScrumpTree;
BreadScrumpTree.RefreshMappingInfo()
var HomeButton = BreadScrumpTree.FindChild("ClrFullClassName","System.Windows.Controls.Button",10);
But it didn't work. In the watch window the value is false but when changing to the object browser or NameMapping the value is true :-/
Why is that? I'm really clueless here.
See attached
Thanks