R
R
Romanson2016-04-02 12:56:15
Delphi
Romanson, 2016-04-02 12:56:15

Can you tell me how to restart the FMX application in Delphi?

halt(0); - this is to end the application, but how to restart?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ananiev, 2016-04-02
@SaNNy32

Start a new application and then close the current one.

R
Romanson, 2016-04-02
@Romanson

MainActivity.finish;
Halt(0);
FreeAndNil(Application);
Form1.Close;
Form1.CloseQuery;
Application Terminate; here's more but it's all closure

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question