Results 1 to 5 of 5

Thread: Change Form size [RESOLVED

Threaded View

  1. #1

    Thread Starter
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575

    Change Form size [RESOLVED

    Hi,

    I was really surprised that such an easy problem as this was not covered in the forums. I looked, but couldn't find anything.

    Now, I want to change the form size at runtime, when the user clicks a label the form size gets changed.

    I have this code...

    Me.Size.Width = 298

    And i dunno wats wrong with that but i get this error:

    Expression is a value and therefore cannot be the target of an assignment.

    And with this...

    Me.Size.Width(298)

    I get

    Property access must assign to the property or use its value.

    So really, how the hell do you change it? I have no idea, surley that should work, I don't understand.

    Thanks for the help, please keep this simple.
    Last edited by LITHIA; May 31st, 2004 at 12:33 PM.

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