Userform Small

Solved
New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   -  
New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   -
Hello,

I would like to know why sometimes my Userform becomes small (zoomed out) see attached photo, so I have to remove it to make it larger?

Thank you in advance for your help.
Best regards.


Configuration: Windows / Edge 18.17763

2 answers

  1. f894009 Posted messages 17417 Registration date   Status Member Last intervention   1 717
     
    Hello,

    In the file you provided and that I modified, there was no such issue!!
    Have you looked at the modification ?????????????
    0
    1. New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   1
       
      In fact, it's a problem that happens with all the projects I have. Sometimes when I open the usreform, it's small, like in the picture, I don't know why?
      0
    2. f894009 Posted messages 17417 Registration date   Status Member Last intervention   1 717
       
      Re,

      In the Initialize procedure, define the parameters height and width to see if it's okay.
      0
    3. New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   1
       
      The problem is that as soon as we open the project, the Userform appears small. When we close the project and then reopen it, the size shouldn't change?

      I don't understand.
      Thank you.
      0
    4. f894009 Posted messages 17417 Registration date   Status Member Last intervention   1 717
       
      Hello,

      Okay, project. Well, it happens at my place too, but it doesn't bother me, so I haven't looked into the why or how.
      0
    5. New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   1
       
      We don't mind, but when we give it to someone else, it can be bothersome; that's why I wanted to understand why this happens.

      Thank you.
      0
  2. cs_Le Pivert Posted messages 8437 Status Contributor 730
     
    Hello,

    first see this:

    https://silkyroad.developpez.com/VBA/UserForm/#LII

    Then set the properties of the Userform Top to 0 and Left as well

    Use the resizing handles and you will see the change!

    0
    1. New_VBA_User Posted messages 82 Registration date   Status Member Last intervention   1
       
      Thank you for the response. It seems to be going well now.

      Have a good day.
      1