Forum Discussion
blearyeye
14 years agoContributor
Sorry for the delay, was distracted by other stuff ...
I ran your suggested code on a form whose path did not include frmMainMenu. The result was an exception:
The Aliases.STUV1.frmParent.frmMainMenu.panel2 object does not have a child with the name "lblUser".
The problem I'm having is that I want to test the existence of an object, but get an exception if any of the objects in its path do not exist.
I ran your suggested code on a form whose path did not include frmMainMenu. The result was an exception:
The Aliases.STUV1.frmParent.frmMainMenu.panel2 object does not have a child with the name "lblUser".
The problem I'm having is that I want to test the existence of an object, but get an exception if any of the objects in its path do not exist.