Results 1 to 7 of 7

Thread: Resizeable VBA UserForms (and Unicode Form Captions)

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Resizeable VBA UserForms (and Unicode Form Captions)

    this seems a very useful concept, i have not looked through it completely yet, but looks like it should work well

    It would have been nice to be able to access the form position data from within the class module and then make the changes to the form that we want to re-size the form but this isn’t possible.
    i am not sure this is correct, i would believe you can change the form properties from the class module and also respond to form events if desired

    probably would need to change from dim as new cls, to set a new cls instance for each form

    edit:
    also i have a missing reference to timo's date control or some such thing, which i had to remove
    Last edited by westconn1; Dec 6th, 2016 at 05:50 AM.
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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