D
DraguVaso
Hi,
I'm having some weird behaviour, and I can't find any solution to this.
I made a UserControl (uclCommands) which contains a Toolbar (ToolBar1) with
Modifiers = Public.
I put this usercontrol on my form and call it Ucl1. In the Property Window
in the Windows Forms Designer I change Ucl1.ToolBar1.ButtonSize to a bigger
value.
Everything goes fine: The buttons get the larger size. but after I compile,
the ButtonSize gets again the original size.....
Does anybody knows why this happens, and what I can do about it? I really
need this because my Usercontrol must have different sizes in my
application.
I tested this with Visual Studio 2005 beta 2 and VS 2003: Both the same
behaviour...
Any help or hints would be really appreciated!
Thanks a lot in advance,
Pieter
I'm having some weird behaviour, and I can't find any solution to this.
I made a UserControl (uclCommands) which contains a Toolbar (ToolBar1) with
Modifiers = Public.
I put this usercontrol on my form and call it Ucl1. In the Property Window
in the Windows Forms Designer I change Ucl1.ToolBar1.ButtonSize to a bigger
value.
Everything goes fine: The buttons get the larger size. but after I compile,
the ButtonSize gets again the original size.....
Does anybody knows why this happens, and what I can do about it? I really
need this because my Usercontrol must have different sizes in my
application.
I tested this with Visual Studio 2005 beta 2 and VS 2003: Both the same
behaviour...
Any help or hints would be really appreciated!
Thanks a lot in advance,
Pieter