I wrote a code for vertical lines in report which has memo fields... but the thickness of the line very less.. is it possible to increase the thickness of the line...
VSTS
10 15227
Sure , either go into the line's Property Box: Properties - Format - Borders Width and set to 1-6 pts
or in VBA code YourLineName.BorderWidth = 6
Linq ;0)>
i am unable to do it can you explain me in details
in the report because it had a memo field i wrote code for vertical lines and for those lines only i want increase the thickness
Hi,
Select the Line, Right-Click goto Properties,
In "All" Tab,
Set these properties:
Border Style = Solid
BorderWidth =4pt
You can also set the Border Colour.
Regards
Veena
It is possible when i draw the line
but i wrote code for it,
its not appearing in the design mode
but i will get it when i print the document
i think we should set this option in the code itself.
As i got the code on this websie only i am unable to change it
Hi,
Select the Line, Right-Click goto Properties,
In "All" Tab,
Set these properties:
Border Style = Solid
BorderWidth =4pt
You can also set the Border Colour.
Regards
Veena
Hi,
OK, then you must be using "Line" Function .
You can draw it this way: -
Printer.DrawStyle = vbSolid
-
Printer.DrawWidth = 5
-
Printer.Line (11280, 240)-(11280, 1080), vbRed
-
Printer.DrawWidth = 1
-
Regards
Veena
I have total nine vertical lines in my report. Whether I have to give this code before mentioning all the line details or before that. when i tried at the beginning and at the end it is showing error.
can you plese guide me
Hi,
Yes, You need to give before drawing the Line..
What Code are you using to draw the line...?
and What is the Error message...?
Regards
Veena
This is the code i am using:
Me.Line (0 * 1440, 0)-(0 * 1440, 15350)
Me.Line (0.5 * 1440, 3500)-(0.5 * 1440, 14000)
Me.Line (2.3 * 1440, 3500)-(2.3 * 1440, 14000)
Me.Line (2.9 * 1440, 3500)-(2.9 * 1440, 14000)
like this i have seven lines
i want increase the width of each line.
Hi,
Change it to : -
-
Me.DrawStyle = vbSolid
-
Me.DrawWidth = 5
-
-
Me.Line (0 * 1440, 0)-(0 * 1440, 15350)
-
Me.Line (0.5 * 1440, 3500)-(0.5 * 1440, 14000)
-
Me.Line (2.3 * 1440, 3500)-(2.3 * 1440, 14000)
-
Me.Line (2.9 * 1440, 3500)-(2.9 * 1440, 14000)
-
-
Me.DrawWidth = 1
-
-
Regards
Veena
Ok, I will try
if I want to increase the line width further i have to change the number "5" or number "1"
just for confirmation
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Andrew Poulos |
last post by:
Is there a small graphics library that I can use? All I need to do is
draw a line of a nominated thickness and colour between two specified
points and to, at some later time, "delete" the line?
...
|
by: Stuart Norris |
last post by:
Dear Group,
I am new to c# and windows form designer - coming from a Motif
background.
I am attempting to develop an application for a touch screen and I
need to have a menu system with a...
|
by: MikeY |
last post by:
I'm trying to find a way for changing the thickness of the groupbox borders.
I've searched on this site but can't seem to find anything of this subject.
Does anyone have a suggestion.
Thanks in...
|
by: A.Neves |
last post by:
Hi,
I need to draw a curve with the thickness changing as function of some
variable. How can I do this in C#?
Any help would be very much appreciated. Thanks.
|
by: blazedaces |
last post by:
Hey, I have an application that draws a polyline with Graphics':
g.drawPolyline(getXPoints(),getYPoints(),nPoints);
It's drawn onto a background image and so the background image is so many...
|
by: John |
last post by:
Hi there,
I need to create a rectangle between two points so that I can check what
is inside it using Contains(). The problem I am having is how to make the
rectangle be able to cope with the...
|
by: mathewgk80 |
last post by:
Hi all,
I would like to know whether we can increase the thickness of a horizontal line..
<html>
<head>
<title>HR</title>
</head>
<body>
<hr>
|
by: thanawala27 |
last post by:
Hi,
I have created the graph using zedgraphs. The graph has 3 curves.
Now, I wanted to increase the thickness of the curve.
This is the code i have used while printing the graph.
...
|
by: complete |
last post by:
How do you draw a line on a canvas in WPF that is 1 pixel thick?
This is the method I am using for drawing a line on a canvas in WPF that uses the line class set to 1 pixel thick but it actually...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |