Results 1 to 3 of 3

Thread: altering the size of a toolstrip

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    703

    altering the size of a toolstrip

    I have a toolstrip on a form I want to make smaller. Here is the code that I sincerely thought would do the job:

    Code:
                    .tlsGeneralForm.Font = New Font("Times New Roman", 4, FontStyle.Regular)
                    .tlsGeneralForm.ImageScalingSize = New Size(10, 10)
    Is that the wrong properties? So is there a way I can make this happen?

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,479

    Re: altering the size of a toolstrip

    The ToolStrip component uses system default sizing. You can find those default properties with the GetSystemMetrics API and modify system properties with the SystemParametersInfo API

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    703

    Re: altering the size of a toolstrip

    Thanks Paul. I took a look at the material you suggested and would say, at this point, that it is way beyond my current level of skill. But at least it is possible.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width