Arrow lines in QuickReport

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Arrow lines in QuickReport

Postby minas » Sat Sep 11, 2004 2:18 am

Hello everybody ,

I want to draw arrows on a QuickReport.Does anybody know any relative component?

TQRShape doesn't support arrow lines.
Thanks in advance.
-
User avatar
minas
BCBJ Guru
BCBJ Guru
 
Posts: 196
Joined: Sat Jul 10, 2004 6:09 am
Location: Greece

Postby Damon » Sat Sep 11, 2004 9:31 am

Hi,
I would suggest creating a new component that descends from TQRShape, and then override the appropriate painting-related method(s) to draw your own arrow-tipped lines using GDI+. Drawing an arrow in GDI+ requires only a few lines of code and is demonstrated in these two articles...

http://bcbjournal.org/get_doc.php?art=subscribers/articles/vol8/0504/May04-01.htm
http://bcbjournal.org/get_doc.php?art=subscribers/articles/vol8/0804/vol8_num8.3.htm

HTH,
Damon
User avatar
Damon
BCBJ Editor and Admin
BCBJ Editor and Admin
 
Posts: 285
Joined: Wed May 26, 2004 11:25 pm
Location: Stillwater, OK, USA

Postby minas » Sat Sep 11, 2004 1:49 pm

Thanks Damon.

The problem is that I have not subscription in CppBuilder Developer's Journal so I cannot read the articles.
-
User avatar
minas
BCBJ Guru
BCBJ Guru
 
Posts: 196
Joined: Sat Jul 10, 2004 6:09 am
Location: Greece


Return to Technical

Who is online

Users browsing this forum: Google [Bot] and 23 guests

cron