1 (edited by identity 2016-01-26 05:27:10)

Topic: Running the project in full screen

Hi
Is there any way that the project runs in full screen in every computers?

thanks

Re: Running the project in full screen

Hello,



Set follow properties for form:
BorderStyle = bsNone
WindowState = wsMaximized

Dmitry.

Re: Running the project in full screen

hi
I use version 1.45 and the for does not have Boderstyle and windowstate

What should I do?
is there any scripts that help me?
thanks

Re: Running the project in full screen

try this code

procedure Form1_OnShow (Sender: string; Action: string);
begin
     Form1.BorderStyle := bsNone;
     Form1.WindowState := wsMaximized;
end;
Dmitry.

Re: Running the project in full screen

thank you
I have tried this code but only the window is shown in full screen
what i need to do is that all of the items in the form1 are shown in full screen
your code does the same as when I check the sizeable checkbox in the properties section of the form1

are there any other scripts?
thanks

Re: Running the project in full screen

Do you mean,  when you change the size of the form to change the size of components?
Then you need to use property Anchors which has each component.


For example, put a TableGrid on form and set property Anchors of TableGrid: Left, Right, Top, Bottom

Dmitry.