missing ability tApplication.CreateForm always calls tForm.Create and not tForm.CreateNew
Original Reporter info from Mantis: Martin Vieregg
-
Reporter name: Martin Vieregg
Original Reporter info from Mantis: Martin Vieregg
- Reporter name: Martin Vieregg
Description:
I have found a missing functionality in the LCL. Since some months, you have to create a new form which is not designed in the resource designer via tForm.CreateNew instead of Create.
If I want to create my mainform via tApplication.CreateForm, I am missing the ability to call CreateNew instead of Create within tApplication.CreateForm.
See forum thread
http://www.lazarus.freepascal.org/index.php/topic,13678.0.html
Additional information:
Solution:
tApplication.CreateForm calls tForm.Create and there has to be a second procedure tApplication.CreateNewForm or a boolean variable in CreateForm parameters to distinguish between Create and CreateNew.
Mantis conversion info:
- Mantis ID: 19678
- Version: 0.9.31 (SVN)
- Target version: 1.0.0
- LazTarget: 1.0