LCL Tools lazarus / 31-LCL ---------------------------------------------------------------------- DenPit5 · 2018-12-05 12:37 How does one obtain the LCL Tools and How to incorporate with the Lazarus operating system.? ---------------------------------------------------------------------- Martin_fr · 2018-12-05 12:43 Where did you read about the "LCL Tools" or what do you expect them to do? The LCL is the "Lazarus Component Library", it is a collection of components (such as Buttons, Form, Label, ...). And if you installed Lazarus, then they are included, and available. Not sure what you mean by "LCL Tools" ---------------------------------------------------------------------- howardpc · 2018-12-05 13:06 Perhaps you mean CodeTools? These are built into the Lazarus IDE by default, enabling many of the advanced editing features such as Ctrl+Shift+C to insert a declaration of an otherwise unknown local variable. The only explicit mention of CodeTools in the IDE is the menu item  Tools -> CodeTools Defines Editor. You can also install an additional package, Cody, which uses CodeTools functionality to add new commands to the IDE such as:   Show Used .ppu Files   Show Unit/Identifier Dictionary ---------------------------------------------------------------------- DenPit5 · 2018-12-05 14:18 Many thanks Martin and Howard for your quick replies.   What I want to is use graphics and from what I have read one needs to use a Canvas to draw on.  Search as I can but  I cannot find a Canvas component anywhere amongst all the at the top of the IDE. A Text book that I have talks about a Graphics unit within the LCL, but I cannot find it.  Where should I be looking? ---------------------------------------------------------------------- howardpc · 2018-12-05 14:29 TCanvas is an LCL class defined in the Graphics unit. It is not available as a separate component on the Component Palette, since it does not exist in isolation. Some controls offer a Canvas property that you can use to draw on, among them TForm, TPaintBox, TGraphicControl. Look at the sources for the TShape component to see how its Canvas property is used to draw different shapes. TCanvas comes supplied with numerous properties and methods you can use. ---------------------------------------------------------------------- zeljko · 2018-12-05 14:49 Maybe TFPCanvas could help ---------------------------------------------------------------------- Martin_fr · 2018-12-05 15:28 If you want to draw stuff, you should use a TPaintBox (Component Palette "Additional"). Drawing on the canvas of for example a Form or Panel must only be done in OnPaint (or during painting). Never in a ButtonClick, or MouseMove.... ---------------------------------------------------------------------- Handoko · 2018-12-05 15:58 @DenPit5 I agree with Martin_fr, it is better to use TPaintBox. But if you're interested to learn more about TCanvas, try these: http://forum.lazarus.freepascal.org/index.php/topic,39790.msg274096.ht ml#msg274096 http://wiki.freepascal.org/Drawing_with_canvas If you want to create simple games, it is easier to use TShape (+ a TTimer): http://forum.lazarus.freepascal.org/index.php/topic,42439.msg297949.ht ml#msg297949 ---------------------------------------------------------------------- DenPit5 · 2018-12-05 16:53 Many thanks again Howard and also Hendoko.   The information that you both posted was what I was after and will be very Helpful.    Thank You.