[Lazarus] nonlcl basic issue: is codetools LCL dependent?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 23 11:43:56 CEST 2014


On Mon, 23 Jun 2014 11:28:39 +0200
Reinier Olislagers <reinierolislagers at gmail.com> wrote:

> On 23/06/2014 11:14, Michael Schnell wrote:
>[...]
> Yes, what about a DataModule? Or, for that matter, a regular form. Just
> make sure your widgetset does not try to create a graphical form on the
> screen. I suppose that is how the current NoGUI widgetset does it?

Yes.
You can use TDataModule with nogui widgetset.
You can put TTimer on a DataModule, but TTimer is not implemented in
nogui.
If you implement the TTimer backend, then it will work.

Mattias




More information about the Lazarus mailing list