I've been working on a screen saver demo (to post in FAQs here perhaps), and I have run into my same problem I run into with a lot of programs now: How do I place a text label onto a form dynamically so the entire text appears? What I've been trying is something like this for placing the text in the upper right hand corner of the screen:
But occasionally the text still goes off the right side of the form. Any ideas here?
Code:
label1.left := Form1.ClientWidth - Label1.Width;
label1.top := Form1.ClientHeight - Label1.Height;
But occasionally the text still goes off the right side of the form. Any ideas here?