BCB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BCB] PolyLine Help
While on the subject of TCanvas, how can I draw on other components?
I know I can draw on a TForm by reading the Canvas property, but what
if I wanted to draw inside a TPanel? I tried a bunch of different
approaches, but I either get an error or nothing is done. If I try to
access the Canvas property from some components, I get an error while
compiling that it's inaccessible.
I figure there's something wrong with just writing on the
component's canvas, otherwise Builder would have included a Canvas
property for all components.
-Nick G.
ps. If anyone knows of a job openning for a Builder programmer on LI
or possibly NYC, please let me know ASAP. I'm looking to advance.
On Wed, 28 Apr 1999 robert_hunt@nospam.nass.usda.gov wrote:
-->Dear Friends,
-->
-->I am having trouble using the PolyLine function of TCanvas in BCB 1.0. There is
-->a reference in the online help, but it is incomplete. I need to draw a line
-->with a subset of points from an array of points. The documentation refers to
-->SLICE, but does not give any examples that I can find. Does anyone have a quick
-->example or explanation that they could share with me?
-->
-->TIA,
-->Robert
-->rhunt@nospam.nass.usda.gov
W Komornicki's Home Page |
Main Index |
Thread Index