Click to See Complete Forum and Search --> : can not destinguish between components that are Containers and normal comp... Help !!


kirik88
August 28th, 2002, 04:39 PM
What am I doing is a sort of designer, you know, I have a canvas (Form, Container) and I am doing transactions (Sizing, Positioning, ... etc) of components on the form. Well if the component is in the form there is no problem, beacuse I make an HitTest to see which component I hit and then I do the thansaction on component.

Well the problem is that I can not destinguish between components that are Containers (have an IContainer interface implemented) like GroupBox or TabPane or ordanary Pane and normal components that do not act like Containers.

Do you know how is this implemented in .NET Framework???

thanks for any help.. :)