Lines in Reports

Alan R

Registered User.
Local time
Today, 20:29
Joined
Sep 11, 2006
Messages
70
Hi,

I have been using the Me.Line facility in the OnPrint Property of a report to draw (surprise, surprise) lines in my reports and it works fine, an example of which is:

Me.Line (0, 978)-(0, 14300)
Me.Line (1150, 978)-(1150, 14300)

These draw vertical lines and using the same appraoch but with different values i can draw horizontal lines.

Now i have searched through this forum, Access help, MSDN but to no avail so i am hoping that somebody in this forum might help.

Does anybody know what criteria/options are avialble with Me.Line? Can i set the line thickness? Change the colour etc? i.e.

Me.Line (0, 978)-(0, 14300), line thickness, colour

Cheers

Alan
 
lines,lines,lines, ya

I believe there is a me.drawwidth= anumber function for thickness.
line (0,0)-(100,100),color.............I think
 
Rickster57,

Many thanks for your response and your info concerning me.drawwidth was spot on.

Another search of the microsoft knowledge base gave me some extra info which i have now tried and it works.

For info for anybody else who might be interested, it is me.Drawwidth = # where # is the line weight and the colour is achieved by using me.line (x1, y1) - (x2-y2), RGB (#, #, #) where x1, y1, x2 and y2 are the start and end co-ordinates of the line and # are the 3 RGB numbers to define the colour i.e. RGB(0, 0, 0) is black (default value)

Regards

Alan
 

Users who are viewing this thread

Back
Top Bottom