Results 1 to 2 of 2

Thread: MDI Child Form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Glasgow, Scotland
    Posts
    71

    Post

    How do I center a MDI child form within the parent MDI form, I have tried setting the StartUpPosition property but I get an error when trying to set this property.

    Thanks for any help,

    Chris

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Gloucestershire, England
    Posts
    301

    Post

    in your load() function of the MDI child put this: (assuming your mdi form is called mdiform1)


    me.left = mdiform1.width/2
    me.top = mdiform1.height/2

    set the startuppos to manual

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