Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Canvas size
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
I have made some progress...
by
bytebites
[
Today
at 07:31:06 pm]
Freepascal
by
Curt Carpenter
[
Today
at 07:28:15 pm]
WASM import error
by
lebao3105
[
Today
at 07:26:53 pm]
Lazarus 4.6 may erase you...
by
Martin_fr
[
Today
at 06:35:29 pm]
Best name for procedure
by
LemonParty
[
Today
at 05:23:02 pm]
Fixed an RV32ec compiler ...
by
MattBradford
[
Today
at 05:11:16 pm]
Many recent books on Laza...
by
Tomu
[
Today
at 05:02:44 pm]
Lazarus Bugfix Release 4....
by
geraldholdsworth
[
Today
at 04:35:14 pm]
International Pascal Cong...
by
zeljko
[
Today
at 04:08:53 pm]
equivalent to C/C++ "offs...
by
jamie
[
Today
at 02:43:16 pm]
val return code
by
ALLIGATOR
[
Today
at 01:40:21 pm]
Help needed on how to do ...
by
cdbc
[
Today
at 12:15:15 pm]
PascalRAL the fastest, mo...
by
Mobius1
[
Today
at 11:24:00 am]
TDateTimePicker - Make th...
by
AlexanderT
[
Today
at 09:57:05 am]
TCollection wiki entry
by
Thaddy
[
Today
at 05:44:53 am]
UI app to work with SQLit...
by
LeP
[
Today
at 12:50:04 am]
Elite Arcade
by
Guva
[July 11, 2026, 11:25:29 pm]
Printing on HP Smart Tank
by
JerryHudson
[July 11, 2026, 10:22:12 pm]
Why is my program freezin...
by
paweld
[July 11, 2026, 07:19:46 pm]
is there PDS reader/expor...
by
jamie
[July 11, 2026, 07:01:12 pm]
Fpcupdeluxe
by
cdbc
[July 11, 2026, 06:40:29 pm]
weird error message
by
jamie
[July 11, 2026, 06:37:01 pm]
Como compilar uma lib par...
by
marcelomaurinmartins@gmai
[July 11, 2026, 06:24:51 pm]
Desenvolvimento visual pa...
by
marcelomaurinmartins@gmai
[July 11, 2026, 06:19:16 pm]
OpenDocument('Filename') ...
by
J-G
[July 11, 2026, 06:13:03 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Canvas size (Read 249 times)
oproescu
Jr. Member
Posts: 50
Canvas size
«
on:
June 17, 2026, 01:56:28 pm »
How can I make the program so that the canvas size the same as the screen?
Thanks!
Logged
LeP
Sr. Member
Posts: 428
Re: Canvas size
«
Reply #1 on:
June 17, 2026, 02:05:26 pm »
Quote from: oproescu on June 17, 2026, 01:56:28 pm
How can I make the program so that the canvas size the same as the screen?
Thanks!
Quick way, set you Form with these properties:
Code: Pascal
[Select]
[+]
[-]
BorderStyle
:
=
bsNone
;
WindowState
:
=
wsFullScreen
;
You can do at design time.
Logged
Un Sistema per domarli, un IDE per trovarli, un codice per ghermirli e nel framework incatenarli.
An operating system to tame them, an IDE to find them, a code to catch them and in the framework chain them.
oproescu
Jr. Member
Posts: 50
Re: Canvas size
«
Reply #2 on:
June 17, 2026, 04:03:27 pm »
Thanks LeP, I'll try it!
Logged
Thaddy
Hero Member
Posts: 19388
Glad to be alive.
Re: Canvas size
«
Reply #3 on:
June 17, 2026, 07:15:50 pm »
Or would you like to make the screen the canvas? I have code for that.
Logged
objects are fine constructs. You can even initialize them with constructors.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Canvas size
TinyPortal
© 2005-2018