Text labels on canvas

I figured out how to handle some of the process used for canvas and drawing circles, but have this follow up question.

How do I add text or labels to the circles that I draw? I want to be able to plot the circles out and then either over the circle, or along the side of the circle, put the id number.

o 5 o7

I know how to draw the circles on the canvas, but how do I put the id numbers down alongside the circle as text or labels?

g.drawstring "Text",x,y

You should really have a look at the SimpleDraw project in xDev 12.5, page 48. It is an excellent little object-oriented drawing app that already does what you need (and much more), and is easily expanded too.

If you are not a subscriber then send me you email in a pm and I send you the project file.