Windows Table Control

sohaibi

Newcomer
Joined
Jul 21, 2003
Messages
3
Location
Karachi, Pakistan
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...
 
I'm not entirely sure what you mean when you say?
sohaibi said:
I came up with one implementation with Panels. But its not appropriate, because the user can drag panel(s) out of that. :o
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.
 
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
 
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.
 
Back
Top