eliaslopezgtz
asked on
draw lines and ovals dinamically
I need to draw a bunch of lines dinamically based on the coords from the results of a SQL statement,
please help me.
please help me.
ASKER
i need to create several amount of lines
and i do not know how many they are going to be.
so.. i can't declare them
line l_line
i need on the fly declaration and use.
and i do not know how many they are going to be.
so.. i can't declare them
line l_line
i need on the fly declaration and use.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i get this error...
type of actual parameter cannot be ancestor of formal reference parameter type
please help
type of actual parameter cannot be ancestor of formal reference parameter type
please help
Here's the syntax:
dw_1.Modify( "create line(band=<Detail, Footer, Header, Header.<group #>, Summary, Trailer.<group #>, Background, Foreground> pointer='<Arrow!, Cross!, HourGlass!, IBeam!, Icon!, Size!, SizeNESW!, SizeNS!, SizeNWSE!, SizeWE!, UpArrow!, or cursor filename (with path)>' moveable=<0 - False, 1 - True> resizeable=<0 - False, 1 - True> x1='<an integer>' y1='<an integer>' x2='<an integer>' y2='<an integer>' name=<string> tag='<string>' pen.style='<0 - Solid, 1 - Dash, 2 - Dot, 3 - DashDot, 4 - DashDotDot, 5 - Null>' pen.width='<an integer>' pen.color='<a long>' background.mode='<0 - Opaque, 1 - Transparent>' background.color='<a long>')")
OR
If you want a line object directly in a window:
line l_line
openuserobject ( l_line, "line", x, y )
l_line.x2 =
l_line.y2 =...