Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2024-11

design forms bigger (or as big as) the screen?

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

Hello,

is there some trick to design a form that is bigger (or as big as) than the screen where I'm designing it?

In the past I designed the form, say, 70% smaller than the desired size, then at runtime I resized it with ScaleBy, however

- some components (or their fonts or the associated picture) aren't scaled correctly
- now I have a form already designed at 1:1 scale for an 800x600 screen that I have to adapt to 1920x1080

(in this screen I have to use the added real estate, I cannot simply blow it up to the bigger size).

I tried using a scrollbox but the scrollbars only work at runtime, not at design time.

Bye

Luca Olivetti Wetron Automation Technology https://wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

El 13/11/24 a les 8:47, Luca Olivetti via lazarus ha escrit:

Show quoted text 6 lines
Hello, is there some trick to design a form that is bigger (or as big as) than the screen where I'm designing it? In the past I designed the form, say, 70% smaller than the desired size,

I meant "70% of the desired size"

Show quoted text 14 lines
then at runtime I resized it with ScaleBy, however - some components (or their fonts or the associated picture) aren't scaled correctly - now I have a form already designed at 1:1 scale for an 800x600 screen that I have to adapt to 1920x1080 (in this screen I have to use the added real estate, I cannot simply blow it up to the bigger size). I tried using a scrollbox but the scrollbars only work at runtime, not at design time. Bye
Luca Olivetti Wetron Automation Technology https://wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

n7800
to Luca Olivetti: is there some trick to design a form that is bigger (or as big as) than the screen where…

You can use a docked form editor - install the "DockedFormEditor" package accordingly. It allows you to scroll the form in the editor window. ?
?
?
?
?

Show quoted text 32 lines
?????, 13 ?????? 2024, 12:47 +05:00 ?? Luca Olivetti via lazarus : ? Hello, is there some trick to design a form that is bigger (or as big as) than the screen where I'm designing it? In the past I designed the form, say, 70% smaller than the desired size, then at runtime I resized it with ScaleBy, however - some components (or their fonts or the associated picture) aren't scaled correctly - now I have a form already designed at 1:1 scale for an 800x600 screen that I have to adapt to 1920x1080 (in this screen I have to use the added real estate, I cannot simply blow it up to the bigger size). I tried using a scrollbox but the scrollbars only work at runtime, not at design time. Bye -- Luca Olivetti Wetron Automation Technology https://wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20241115/70faef2e/attachment.htm>

Reply by email

Luca Olivetti
to n7800

El 15/11/24 a les 21:31, n7800 via lazarus ha escrit:

You can use a docked form editor - install the "DockedFormEditor"

Thank you, I'll take a look, for the time being I'm using a different approach: I use (almost) the full width of the screen but not the full height, then at runtime I just resize the form, filling the extra space using the anchors of some components that can be resized vertically.

Bye

Show quoted text 38 lines
package accordingly. It allows you to scroll the form in the editor window. ?????, 13 ?????? 2024, 12:47 +05:00 ?? Luca Olivetti via lazarus : Hello, is there some trick to design a form that is bigger (or as big as) than the screen where I'm designing it? In the past I designed the form, say, 70% smaller than the desired size, then at runtime I resized it with ScaleBy, however - some components (or their fonts or the associated picture) aren't scaled correctly - now I have a form already designed at 1:1 scale for an 800x600 screen that I have to adapt to 1920x1080 (in this screen I have to use the added real estate, I cannot simply blow it up to the bigger size). I tried using a scrollbox but the scrollbars only work at runtime, not at design time. Bye -- Luca Olivetti Wetron Automation Technology https://wetron.es/ <https://wetron.es/> Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- _______________________________________________ lazarus mailing list </compose? %2dide.org> https://lists.lazarus-ide.org/listinfo/lazarus <https:// lists.lazarus-ide.org/listinfo/lazarus>
Luca Olivetti Wetron Automation Technology https://wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email