Recent

Author Topic: Remove the title bar (SOLVED)  (Read 761 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Remove the title bar (SOLVED)
« on: November 28, 2019, 10:41:27 am »
Hi guys, in my application I need all the available space and I would like to remove the title bar to save space. Does anyone know how to do?
« Last Edit: November 28, 2019, 10:57:44 am by xinyiman »
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

fjabouley

  • Full Member
  • ***
  • Posts: 103
Re: Remove the title bar
« Reply #1 on: November 28, 2019, 10:49:33 am »
if your form is form1

form1.borderstyle := bsnone;
+/- form1.WindowState := wsfullscreen;

?

xinyiman

  • Hero Member
  • *****
  • Posts: 2092
    • Lazarus and Free Pascal italian community
Re: Remove the title bar
« Reply #2 on: November 28, 2019, 10:57:34 am »
I don't know why the bsnone didn't work. But the bshide worked well. Sorry for the stupid question.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

kordal

  • New Member
  • *
  • Posts: 20
Re: Remove the title bar (SOLVED)
« Reply #3 on: November 29, 2019, 08:05:58 am »
Code: Pascal  [Select][+][-]
  1.   Self.HideActionBar();
  2.  

 

TinyPortal © 2005-2018