What am I doing wrong???
I got a window with a canvas within it. The canvas is width = 200 and
height = 100
In the next code I'm setting 2 RectShapes in a Group2D (one beside
the other) and next I'm drawing the Group2D (paint event)
When I do g.drawobject g2d, 0, 0, the Group2D is not drawn in 0, 0
//
dim r as RectShape
dim g2d as new Group2D
g2d.X = 0
g2d.y = 0
r = new RectShape
r.width = 100
r.height = 100
r.X = 0
r.Y = 0
r.fillcolor= RGB(0,0,255)
g2d.Append r
r = new RectShape
r.width = 100
r.height = 100
r.X = 100
r.Y = 0
r.fillcolor= RGB(255,0,255)
g2d.Append r
g.drawobject g2d, 0, 0
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>