Recent

Author Topic: Canvas size  (Read 250 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!

LeP

  • Sr. Member
  • ****
  • Posts: 428
Re: Canvas size
« Reply #1 on: June 17, 2026, 02:05:26 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][+][-]
  1.  BorderStyle := bsNone;
  2. WindowState := wsFullScreen;

You can do at design time.
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!

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.
objects are fine constructs. You can even initialize them with constructors.

 

TinyPortal © 2005-2018