|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
custom panel controlI am trying to write a custom panel control that I can place objects into at
design time, however, i want a header on the top of it which can not contain controls (its a static header) in the image shown below, I have a red outline marking the region i dont want a control to be able to be placed in, I want the white area below that to be the container only. How do I go about making a panel that can do this with a header on the top and a container on the bottom? thanks! whoops, image didnt attach.. here it is
[attached file: example.png] Smokey Grindle wrote:
> I am trying to write a custom panel control that I can place objects into at You need to look at Designer Classes (specifically, the > design time, however, i want a header on the top of it which can not contain > controls (its a static header) ParentControlDesigner class) that allows you to control (no pun intended) which Controls can be dropped where while you're designing another Control or Form. HTH, Phill W. You can just make a custom control, the place an picturebox + label in
there, and then asign some properties(like image height, width, location, text, and de text for the label). also you can add beter support for the controls your adding to it. good luke Smokey Grindle wrote: Show quoteHide quote > I am trying to write a custom panel control that I can place objects into at > design time, however, i want a header on the top of it which can not contain > controls (its a static header) in the image shown below, I have a red > outline marking the region i dont want a control to be able to be placed in, > I want the white area below that to be the container only. How do I go about > making a panel that can do this with a header on the top and a container on > the bottom? thanks!
Opinion: VPN or Web Service?
Seeking report component.... AxWebBrowser problems in VS2005 C# to VB Conversion - 800 lines got - 2 lines beyond me Show dynamically selected row in datagridview How to test internet connection in VB.NET? Determine caller class name Assembly - Where did I come from? An Unhandled exception of type 'system.stackoverflowexception' occured in mscorlib.dll Determine caller class name |
|||||||||||||||||||||||