Problem with the .Visible property of a ToolbarButton and the button size
From: Mark Hebbel (mark.hebbel_at_baslerweb.com)
Date: 02/04/04
- Next message: Roshawn: "Enabling/Disabling Buttons"
- Previous message: James Radke: "DataGrid ShowScrollBars override issue - help!"
- Next in thread: bullet: "Re: Problem with the .Visible property of a ToolbarButton and the button size"
- Reply: bullet: "Re: Problem with the .Visible property of a ToolbarButton and the button size"
- Messages sorted by: [ date ] [ thread ]
Date: 4 Feb 2004 06:58:33 -0800
Hi,
I've created a toolbar with a with a fixed .buttonsize (80,80). In the
code the Buttons are "turned on" by setting the .visible property to
true and doing a toolbar.refresh(). When this happens .Net
recalculates the toolbar using the _default_ buttonsize (max.
text/image width/height) and ignores completely my buttonsize.
Detailed investigation with the debugger showed that afterwards the
Buttonsize is still set to (80,80) but the Toolbarbutton.rectangle
property is set to something smaller. Anyone know if this is a known
bug? I'm using .NET 1.1 with VB.
Example code available on request. I've searched the groups here but
everyone seems to have the opposite problem (buttons to big).
Thanks in advance,
Mark
- Next message: Roshawn: "Enabling/Disabling Buttons"
- Previous message: James Radke: "DataGrid ShowScrollBars override issue - help!"
- Next in thread: bullet: "Re: Problem with the .Visible property of a ToolbarButton and the button size"
- Reply: bullet: "Re: Problem with the .Visible property of a ToolbarButton and the button size"
- Messages sorted by: [ date ] [ thread ]