G
Guest
Hey all - thanks in advance for the help.
I am messing around with layout management and have a naming issue I cannot
seem to track down. I am handling the layout event (Layout()) for my controls
and, when checking the Name property for any of the children passed in (via
e.AffectedControl.Controls), the name has been modified from what it was
defined in the designer. For instance, if I defined something to be 'MyPanel'
it would come through in the event as 'myPanel1'. I don't know if this is a
known modification and by design but I need to understand this for accurate
control matching. Any help is appreciated.
I am messing around with layout management and have a naming issue I cannot
seem to track down. I am handling the layout event (Layout()) for my controls
and, when checking the Name property for any of the children passed in (via
e.AffectedControl.Controls), the name has been modified from what it was
defined in the designer. For instance, if I defined something to be 'MyPanel'
it would come through in the event as 'myPanel1'. I don't know if this is a
known modification and by design but I need to understand this for accurate
control matching. Any help is appreciated.