Well you can sort of...
If you make your widget a usercontrol you can have in your code
if me.DesignMode = True then
do redraw code for size here depending on form limits.
else
do your runtime code here.
end if
Not sure if this type of thing is what you are asking for, but maybe this will help.
>Stephen,
>
>I'm not aware of anyway to do this.
>
>>I actually got the DrawLine to work already. My problem is that I'm trying to layout a screen with lines and borders so I need the boxes to resize in design time. It's difficult to design a screen when some of the controls don't update themselve.
>>
>>Is there a way to make these graphic controls update at design time?
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com