Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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...

Posted

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.

Anybody looking for a graduate programmer (Midlands, England)?
Posted

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

Posted
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.
Anybody looking for a graduate programmer (Midlands, England)?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...