August 31st, 2003, 10:44 PM
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.
September 1st, 2003, 12:51 AM
Set the "Align" attribute to "alTop" or "alClient".
September 1st, 2003, 11:05 AM
Many thanks, that worked! btw great forum I'll come here more often!