I have a Windows Form frmMain() holding seven more-or-less unrelated UserControls, "ucFlopsy", "ucMopsy", "ucCottontail", etc...
I say "more-or-less" because each of the seven UC has three similar public read/write properties:
IsLocked (a boolean indicating if the following two properties are "Locked")
IsLockedID (if IsLocked=True then IsLockedID is an integer)
IsLockedName (if IsLocked=True then IsLockedName is a string)
There are no other attributes common to the seven UC.
frmMain can easily read/write the three public properties of each UC (me.ucMopsy.IsLocked...), but frmMain doesn't care about these properties!
How does ucFlopsy access those public properties of ucMopsy?
I need code in ucFlopsy (something that works, and this doesn't!)
If ucMopsy.IsLocked then 'whatever Else 'whatever else End If