I have thread on TOF.:
The first part of which is about about what turned to be simple, but the second thing was that I needed to walk the control hierarchy (which could contain ContainerControls) to see if any parent (including the container controls) implement a specific class interface.
Of course the simple obvious way does not work… But i found a way to do it without using Norm’s method of searching the runtime using RectControl.Window for which isA works as expected for this purpose.
Tim Hare responded that for this specific case using RectControl.Window works, but more generally one has to search the runtime…
In real world usage, as the cases where a ContainerControl does not have at least one RectControl on it would be very small (if any!), in what cases would this method not work?
Maybe Norm can chime in on this?