#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    7
    Rep Power
    0

    Question Newbie Delphi question


    Hi, tis my first post here!

    I have only just started learning Delphi, about two days ago so I'm a real newbie!! I have Delphi 7.

    I have nearly finished making a GUI for my first project I am developing, my question is, under the Main Menu I have an image that's in jpeg format that I would like to always be displayed, it's just an image with the name of the program on it, the size is 579x81 and under that is an empty panel to seperate it from the rest of the screen, but when I maximise the window the image will stay the size of the original window as will the panel.

    How do I get the image and the panel and everything else I may add for that matter to become maximised with the window? Is there a setting for it on the Object Inspector or will I have to write code to do this?

    Many thanks for your help, I appreciate it.

    nester
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    Set the "Align" attribute to "alTop" or "alClient".

    hth,
    M.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    7
    Rep Power
    0
    Many thanks, that worked! btw great forum I'll come here more often!

    Thanks again,

    Nester

IMN logo majestic logo threadwatch logo seochat tools logo