[Lazarus] Dynamic creation of TTrackBar

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Dec 17 16:47:54 CET 2009


On Thu, 17 Dec 2009 23:37:21 +0800
Brad Campbell <brad at wasp.net.au> wrote:

> G'day all,
> 
> I'm currently using "Lazarus 0.9.29 r22679 FPC 2.2.5 i386-linux-gtk 2 (beta)".
> 
> On a form, I'm creating 30-40 instances of a TTrackBar dynamically. If, at design time I have a 
> TTrackBar on the form, this all goes swimingly. If, however there is no TTrackBar on the form, when 
> I run the application I get "Class "TTrackBar" not found.".

How do you create the TTrackBars?

 
> I'm pretty sure I've created components dynamically before and not bumped up against this. I *know* 
> I'm doing something dumb, but it's late and I just can't figure out what it is.
> 
> Can someone whack me with the clue bat please?


Mattias




More information about the Lazarus mailing list