TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Andrew
NA
2
0
Resizing toolStrip Buttons
Dec 19 2007 8:19 AM
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.
Reply
Answers (
0
)
NP71 Source Code
Remove existing record in .txt file