sohaibi Posted May 13, 2006 Posted May 13, 2006 Does anyone know about a windows control that is similar to the Table control of HTML. So that the user can house other controls into it just like with Web Forms. I came up with one implementation with Panels. But its not appropriate, because the user can drag panel(s) out of that. :o Hoping an early response... Quote
Cags Posted May 13, 2006 Posted May 13, 2006 I'm not entirely sure what you mean when you say?I came up with one implementation with Panels. But its not appropriate' date=' because the user can drag panel(s) out of that. :o[/quote']It doesn't sound like any standard behaviour? Generally speaking in Windows Forms application objects that require basic grouping are contained within a panel. However perhaps the functionality you are after could be better performed by creating a UserControl. These are generally used to create composite controls. For example you could create a LoginControl, that would consist of two textboxes a button and a few labels. Quote Anybody looking for a graduate programmer (Midlands, England)?
sohaibi Posted May 13, 2006 Author Posted May 13, 2006 Clarification I think you didn't get what I meant. Let me explain it again... I am working on a designer host application. Such an application would allow the users to design form on their own. Now the target user isn't aware of using panels to design the form layout. Thats why I need a table control to simulate an HTML Table like behavior. Currently I have got a control that works fine on design time. But if I use this control in the designer host, it crashes due to unknown reasons. Hope you understand the scenario. Just consider that I'm working on a .NET like IDE in which there is a tolbox, design area and a property grid... And the user is supposed to drag and drop controls from the toolbox on to the design area to design a form Quote
Cags Posted May 13, 2006 Posted May 13, 2006 Ahh ok, I see what your saying. In that case I'm not sure what you can do. I personally find panels easier to work with that html tables, but I guess it depends what your used to. Quote Anybody looking for a graduate programmer (Midlands, England)?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.