all groups > dotnet windows forms designtime > april 2004 >
You're in the

dotnet windows forms designtime

group:

Can Splitter be Made to Work at Design Time?


Can Splitter be Made to Work at Design Time? Jeff Gaines
4/17/2004 10:02:00 PM
dotnet windows forms designtime:

Posted separately to
microsoft.public.dotnet.framework.windowsforms.controls, I
pressed the 'send button too quickly :-(

I am designing a small control that combines a Label and TextBox
with a Splitter between them so that respective sizes can be
changed.

This works fine while it is running but the splitter doesn't
work at design time - which is the opposite to what I want.

I can disable the Splitter at runtime but is it possible for the
splitter to be persuaded to work at design time? If not is there
a way of adding extra sizing handles to the control?

--
Jeff Gaines - Damerham Hampshire UK
Re: Can Splitter be Made to Work at Design Time? Allen Anderson
4/22/2004 3:52:00 PM
I was needing something like this too recently and I found this
article on codeproject. Check it out as I think it might have the
info you are looking for.

http://www.codeproject.com/cs/miscctrl/collapsiblesplitter.asp?df=100&forumid=12177&exp=0&select=745756


Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com

On Sat, 17 Apr 2004 22:02:00 +0100, Jeff Gaines <jeff@jgaines.co.uk>
[quoted text, click to view]
Re: Can Splitter be Made to Work at Design Time? Jeff Gaines
4/23/2004 12:57:26 PM
On Thu, 22 Apr 2004 15:52:00 -0600, Allen Anderson
[quoted text, click to view]

Allen

Many thanks for your reply.

I had a look at this control but it doesn't do what I want.

I want to be able to size my control on a form at design time by
'pulling' sizing handles or a splitter - like you can size the
columns on a ListView at design time by pulling them with the
mouse.

I'll keep trying!
Re: Can Splitter be Made to Work at Design Time? JackRazz
4/26/2004 10:31:37 AM
Jeff,
This may not help, but I think you need to look at the ComponentDesigner class. You
might want to start with this msdn article:
http://msdn.microsoft.com/msdnmag/issues/03/05/Design-TimeControls/default.aspx

Good Luck - JackRazz

Re: Can Splitter be Made to Work at Design Time? Jeff Gaines
4/26/2004 7:15:24 PM
On Mon, 26 Apr 2004 10:31:37 -0500, "JackRazz"
[quoted text, click to view]

Very many thanks for that link, it has led to some really useful
stuff :-))
--
Jeff Gaines - Damerham Hampshire UK
Re: Can Splitter be Made to Work at Design Time? JackRazz
4/27/2004 9:52:03 AM
Good to hear it jeff. Your tackling a challenging project. I feel for ya. Good
luck

JackRazz


[quoted text, click to view]
|
| >Jeff,
| >This may not help, but I think you need to look at the ComponentDesigner class.
You
| >might want to start with this msdn article:
| >http://msdn.microsoft.com/msdnmag/issues/03/05/Design-TimeControls/default.aspx
| >
| >Good Luck - JackRazz
| >
|
| Very many thanks for that link, it has led to some really useful
| stuff :-))
| --
| Jeff Gaines - Damerham Hampshire UK
|

AddThis Social Bookmark Button