|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 4 of 4 total|
|Line, square, rectangle drawing|
|Wed, Dec 16 2015 3:20 AM||Permanent Link|
Maybe I am just not seeing it. But, how can I draw a horizontal line? Or a square? A circle?
|Wed, Dec 16 2015 4:13 AM||Permanent Link|
SEC Solutions Ltd.
If you use a TPaint component you can use things like LineTo(X,Y) etc.
There is an Paint example project that ships with EWB2 that demonstrates
On 16/12/2015 08:20, Trinione wrote:
> Maybe I am just not seeing it. But, how can I draw a horizontal line? Or a square? A circle?
|Wed, Dec 16 2015 4:17 AM||Permanent Link|
> Maybe I am just not seeing it. But, how can I draw a horizontal line?
> Or a square? A circle?
Here's something to get you started. Drop a TPaint on the form, and the
rest should give you the right clues. Basically you draw on its canvas.
procedure TBlah.DrawToCanvas(xCanvas : TCanvasElement; xFont : TFont);
xCanvas.FillColor := clWhite;
xCanvas.FillRect(0, 0, xCanvas.Width, xCanvas.Height);
|Wed, Dec 16 2015 5:10 PM||Permanent Link|
Thank you both.
This web page was last updated on
Saturday, June 3, 2023 at 10:17 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at email@example.com