WaitAliasChild not working
To stop me losing my mind, I would be grateful if someone could help a novice with the WaitAliasChild method.
I have these two objects - parent dialog and child email button:
I'm trying to use the WaitAliasChild method to wait for the email button on the dialog to exist or become enabled before proceeding to the next part of the script but I can't seem to get the syntax right. What happens with
the code shown below, is that the Wait does not happen and the script moves immediately to the next set of actions before the email button is enabled.
Set NXPowerLite = Aliases.NXPowerLite
Set dlgResults = NXPowerLite.dlgResults
If Not dlgresults.WaitAliasChild("btnEmail", 10000).Enabled Then
Thank you for any advice you may have to offer.
Re: WaitAliasChild not working