Atozed Forums
Scale application to screen - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Scale application to screen (/thread-1790.html)



Scale application to screen - davidbaxter - 07-09-2020

What is the best practice to scale a form/application to the browser's screen size? I've looked and tried examples of Bootstrap, but the component selection is limited and I was not successful in modifying the examples to my need. All I really need to do is display a text message in a color and size of my choosing nicely in the center of the screen, be it iPhone, android, tablet, or laptop. Thanks.


RE: Scale application to screen - kudzu - 07-10-2020

You can use anchors and aligns to center content, or a simple template if this is all you need to do. There are examples of both in our demos (Guess centers things)


RE: Scale application to screen - davidbaxter - 07-15-2020

Thank you. I brought Guess up, but it won't compile. It complains that IWCompFile.pas is missing. 15.2.3 is the version installed. I will try to learn from the .dfm file. Edit: took it out of the Uses section and it compiles. Will experiment with it. Thanks.


RE: Scale application to screen - kudzu - 07-17-2020

IWCompFile is a core file and Guess I dont believe uses it at all.

Do you have IWCompFile.* file on your system?


RE: Scale application to screen - davidbaxter - 07-17-2020

(07-17-2020, 06:22 PM)kudzu Wrote: IWCompFile is a core file and Guess I dont believe uses it at all.

Do you have IWCompFile.* file on your system?
You are right, I don't have that file. As I edited my previous post, I removed it from the Uses section and Guess compiled. To solve the original question, I was able to get a bootstrap region to do what I wanted.