dcsimg
Results 1 to 3 of 3
  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    444

    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
    21,695

    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
    Hyperactive Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    444

    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
  •  



Featured


Click Here to Expand Forum to Full Width


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.