Where can I get help doc for such as TImage/TShape?
Click F1 in my Lazarus, I can't launch the related help for classes, such as TImage/TShape.
Please help me out.
Thank you.
BTW, I want to draw a line on my image component, but below code can't work if I set image component's brush properties from Lazarus property dialog to clblack:
And whatever color I set, below line is black, why?
procedure Tf_main.Image1Click(Sender: TObject);
begin
Image1.Canvas.Brush.Color:=clYellow; //whatever color I set, below line is black, why?
Image1.Canvas.Brush.Canvas.Line(1,1,800,600);
end;
procedure Tf_main.Image1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
Image1.Canvas.Brush.Color:=clYellow;//whatever color I set, below line is black, why?
Image1.Canvas.Brush.Canvas.Line(1,1,800,600);
end;