|
-
Dec 17th, 2007, 09:20 AM
#1
Thread Starter
Member
Resizing toolStrip Buttons
I have a few toolstrips that have a number of different buttons each. I want the user to be able to resize the buttons to Small, Medium or Large sizes. The problem is that when I resize the toolbars they do not redraw or refresh until I do some sort of manual resizing of the form, ether expanding/shrinking or minimizing/maximizing the window.
I've tried using both functions below:
tStrip.ImageScalingSize = 24;
tStrip.Scale(new SizeF(24, 24));
Followed by combinations of the following functions:
tStrip.Refresh();
tStrip.Update();
this.Refresh();
this.Update();
Nothing I try seems to actually work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|