Enter this code in the click event of a button
TCanvas *pCanvas = ((TForm *)Form1)->Canvas;
pCanvas->LineTo(100,100);
after typing "pCanvas->" wait a few seconds and see the autocompletion list to get an idea of all the graphical function supported by the canvas.
succes,
Hennie
============================================================
'C' is shorthand for Confusion, 'C++' much more confusion...