[Lazarus] Dynamic creation of TTrackBar

Brad Campbell brad at wasp.net.au
Thu Dec 17 17:28:03 CET 2009


Brad Campbell wrote:
> Brad Campbell wrote:
>> Mattias Gaertner wrote:
>>>
>>> Add unit comctrls to uses clauses.
>>>
>> uses
>>   Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, 
>> Dialogs,
>>   Menus, StdCtrls, ExtCtrls, ComCtrls, UnixSerial, BaseUnix, PortScan,
>>   DateUtils, Math;
> 
> Just to check I removed ComCtrls and of course it failed to compile. 
> With it in, it just dies at run time.
> 
> 

Ok, nevermind. The fault lies elsewhere.
When I remove the component from the form, it's not recompiling the lrs file.
If I manually create the .lrs file from the .lfm file before I compile the problem goes away.

Now I just need to figure out what I've damaged that is stopping lazarus recompiling the lrs file 
when I change the form.

Sorry for the noise.


Regards,
Brad
-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.




More information about the Lazarus mailing list