Link to home
Start Free TrialLog in
Avatar of Freeday
Freeday

asked on

How do I set a form to show in the bottom right corner of the screen?

Simple thing, I have a form that I want to always be positioned in the bottom right of the screen. Can I do this using the object inspector?
ASKER CERTIFIED SOLUTION
Avatar of aflarin
aflarin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Geert G
it's a shame the property Align doesn't have alBottomRight

otherwise setting that and ScreenSnap would have done it
Now it only gives either Left or Bottom, not both

unless ... set Align to alCustom
and set ScreenSnap = True

and add this to the formCreate
procedure TfrmAlterMemo.FormCreate(Sender: TObject);
begin
  Left := Screen.WorkAreaWidth - Width;
  Top := Screen.WorkAreaHeight - Height;
end;

That will hold the form in that position, immovable !