Lazarus

Programming => Operating Systems => Android => Topic started by: xinyiman on November 28, 2019, 10:41:27 am

Title: Remove the title bar (SOLVED)
Post by: xinyiman 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?
Title: Re: Remove the title bar
Post by: fjabouley on November 28, 2019, 10:49:33 am
if your form is form1

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

?
Title: Re: Remove the title bar
Post by: xinyiman 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.
Title: Re: Remove the title bar (SOLVED)
Post by: kordal on November 29, 2019, 08:05:58 am
Code: Pascal  [Select][+][-]
  1.   Self.HideActionBar();
  2.  
TinyPortal © 2005-2018