Re: [Lazarus] TApplication.UpdateMainForm

2016-02-17 Thread Fabio Luis Girardi
Em 17 de fev de 2016 18:41, "Mattias Gaertner" escreveu: > No. > Why can't you derive from TForm? > > Because TForm publishes some properties that I want keep in protected section. -- ___ Lazarus mailing list

Re: [Lazarus] TApplication.UpdateMainForm

2016-02-17 Thread Mattias Gaertner
On Wed, 17 Feb 2016 18:25:47 -0200 Fabio Luis Girardi wrote: >[...] > My question is: The parameter AForm should be of type TCustomForm instead > of TForm? No. Why can't you derive from TForm? Mattias -- ___ Lazarus mailing

[Lazarus] TApplication.UpdateMainForm

2016-02-17 Thread Fabio Luis Girardi
Hi all!! I'm creating a new form class with some extra features, derived from TCustomForm. But when I override the procedure CreateWnd to register the new instance of my form class as the main form of the application, I receive a warning talking that my form class (TSecureForm) and TForm are not

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Mattias Gaertner
On Wed, 17 Feb 2016 18:03:52 + Denis Kozlov wrote: > It would be useful to have a built-in option to regenerate base PO file > (and update translated PO files) for a project. > > This could involve: > 1) Removing all existing LRT, LRJ, RST, RSJ. This can do that: Run /

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Denis Kozlov
It would be useful to have a built-in option to regenerate base PO file (and update translated PO files) for a project. This could involve: 1) Removing all existing LRT, LRJ, RST, RSJ. 2) Forcing project to be recompiled to reprocess resourcestrings and produce RSJ 3) Forcing forms to be resaved

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Bart
On 2/17/16, Maxim Ganetsky wrote: > So users will need to save forms anyway in order to ensure strings > correctness and to get correct .po files. > > Maybe some helper tool that resaves all affected forms in one go can be > created, though. Don't know how big is demand for it.

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Maxim Ganetsky
17.02.2016 18:24, Denis Kozlov пишет: > It should be possible to code up an automatic conversion of LRT files > directly to RSJ/LSJ, without a need to resave all forms. They both store > the same data, but use a different format. > > Of course, LRT files with already broken strings (as a result

Re: [Lazarus] Replacing LRT format with RSJ

2016-02-17 Thread Denis Kozlov
It should be possible to code up an automatic conversion of LRT files directly to RSJ/LSJ, without a need to resave all forms. They both store the same data, but use a different format. Of course, LRT files with already broken strings (as a result of new lines) would be initially mapped 1-to-1 to

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-17 Thread Leonardo M . Ramé
El 14/02/16 a las 11:34, Mark Morgan Lloyd escribió: Sven Barth wrote: On 14.02.2016 15:14, Bart wrote: Hi, This is a bit off-topic. I have an ancient computer: Intel Celeron 700Mhz, 512MB RAM, 20GB IDE HD. (http://flyingsheep.nl/computer_nostalgie.htm#celeron700) (Hardware upgrades are