Hello,
In Report Design View in the Detail Section I have several vertical
lines that I would like to autoextend with the length of the detail
section. This is becasue I have a memo field that "Can Grow" so that
it can fit all the information that the users input.
If anyone knows how to do this for the lines that would be greatly
appreciated. Thanks,
--Jason Coleman 4 4524
On Jun 4, 11:28 am, colemanj4 <colema...@gmai l.comwrote:
Hello,
In Report Design View in the Detail Section I have several vertical
lines that I would like to autoextend with the length of the detail
section. This is becasue I have a memo field that "Can Grow" so that
it can fit all the information that the users input.
If anyone knows how to do this for the lines that would be greatly
appreciated. Thanks,
--Jason Coleman
This will be really tricky:
for each vertical line, create two textboxes with the memo field as
ControlSource. It is important that both have same CanGrow, CanShrink,
Width and Height properties;
Drag&drop both to the same place, with just some pixels horizontal
difference between them;
The textbox in background, define its backColor and bordercolor to
black;
The textbox in foreground, backColor and borderColor = Transparent or
white;
Voilà. You have a vertical line, witch widht corresponds to the
horizontal difference between fore and back textboxes.
I told you it would be tricky!
Wow! That works perfectly! Thanks a lot!
--Jason Coleman
On Jun 4, 2:16 pm, spier <spie...@yahoo. comwrote:
On Jun 4, 11:28 am, colemanj4 <colema...@gmai l.comwrote:
Hello,
In Report Design View in the Detail Section I have several vertical
lines that I would like to autoextend with the length of the detail
section. This is becasue I have a memo field that "Can Grow" so that
it can fit all the information that the users input.
If anyone knows how to do this for the lines that would be greatly
appreciated. Thanks,
--Jason Coleman
This will be really tricky:
for each vertical line, create two textboxes with the memo field as
ControlSource. It is important that both have same CanGrow, CanShrink,
Width and Height properties;
Drag&drop both to the same place, with just some pixels horizontal
difference between them;
The textbox in background, define its backColor and bordercolor to
black;
The textbox in foreground, backColor and borderColor = Transparent or
white;
Voilà. You have a vertical line, witch widht corresponds to the
horizontal difference between fore and back textboxes.
I told you it would be tricky!
colemanj4 <co*******@gmai l.comwrote in
news:11******** **************@ w5g2000hsg.goog legroups.com:
Wow! That works perfectly! Thanks a lot!
--Jason Coleman
On Jun 4, 2:16 pm, spier <spie...@yahoo. comwrote:
>On Jun 4, 11:28 am, colemanj4 <colema...@gmai l.comwrote:
Hello,
In Report Design View in the Detail Section I have several
vertical lines that I would like to autoextend with the
length of the detail section. This is becasue I have a memo
field that "Can Grow" so that it can fit all the
information that the users input.
If anyone knows how to do this for the lines that would be
greatly appreciated. Thanks,
--Jason Coleman
This will be really tricky:
for each vertical line, create two textboxes with the memo field as ControlSource. It is important that both have same CanGrow, CanShrink, Width and Height properties; Drag&drop both to the same place, with just some pixels horizontal difference between them; The textbox in background, define its backColor and bordercolor to black; The textbox in foreground, backColor and borderColor = Transparent or white; Voilà. You have a vertical line, witch widht corresponds to the horizontal difference between fore and back textboxes.
I told you it would be tricky!
Please ignore my other post there is an issue in it that I
forgot about, where sometimes the line gets it size before the
field that grows. This is correct code to draw 2 vertical lines
that size based on another control's size
Private Sub Detail_Print(Ca ncel As Integer, PrintCount As
Integer)
Dim x1 As Integer, x2 As Integer
dim x3 as integer, x4 as integer
dim y1 As Integer,y2 As Integer
dim C as long
x1 = Me.txtcanGrow.L eft
x2 = Me.txtcanGrow.L eft + Me.txtcanGrow.W idth
x3 = me.txtanother.l eft
x4 = me.txtanother.l eft + me.txtanother.w idth
y1 = Me.txtcanGrow.T op
y2 = Me.txtcanGrow.T op + Me.txtcanGrow.H eight
c = RGB(0,0,0)
Me.Line (x1, y1)-(x1, y2),c
Me.Line (x2, y1)-(x2, y2),c
Me.Line (x3, y1)-(x3, y2),c
Me.Line (x4, y1)-(x4, y2),c
End Sub
alternately, the last four lines can become
Me.Line (x1, y1)-(x2, y2),c, B 'this draws a box.
Me.Line (x3, y1)-(x4, y2),c, B 'this draws a box.
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com
colemanj4 <co*******@gmai l.comwrote in
news:11******** **************@ w5g2000hsg.goog legroups.com:
Wow! That works perfectly! Thanks a lot!
--Jason Coleman
On Jun 4, 2:16 pm, spier <spie...@yahoo. comwrote:
>On Jun 4, 11:28 am, colemanj4 <colema...@gmai l.comwrote:
Hello,
In Report Design View in the Detail Section I have several
vertical lines that I would like to autoextend with the
length of the detail section. This is becasue I have a memo
field that "Can Grow" so that it can fit all the
information that the users input.
If anyone knows how to do this for the lines that would be
greatly appreciated. Thanks,
--Jason Coleman
This will be really tricky:
for each vertical line, create two textboxes with the memo field as ControlSource. It is important that both have same CanGrow, CanShrink, Width and Height properties; Drag&drop both to the same place, with just some pixels horizontal difference between them; The textbox in background, define its backColor and bordercolor to black; The textbox in foreground, backColor and borderColor = Transparent or white; Voilà. You have a vertical line, witch widht corresponds to the horizontal difference between fore and back textboxes.
I told you it would be tricky!
There is a much simpler way, using a little visual basic code in
the On_Format event of the section (detail, I presume).
Just copy the me.ctlMemoThatG rows..height property, to the
..height each vertical line that needs to grow.
Me.Line1.Height = Me.Memo.Height
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: thomanjl |
last post by:
My current problem I'm having with the verticle scroll bar is actually
with the scroll box. I have set the min and max of the scroll bar to
-32767 and 32767 respectivly. When I scroll to the end of the file, I
see all the data. But when I drag the scroll box to the end, the
program cuts off about 1000 lines. I have searched and searched and I
can't figure out where the problem is. Any suggestions would be
great.
|
by: Robert Downes |
last post by:
I'm using the following in a page that I'm testing in Mozilla:
p.actionLinkBlock {border: 1px #000000 dashed; padding: 0.2cm; width: auto}
But the dashed border is extending to the right-edge of the screen. I
want it to only extend as far as it needs to to nicely contain the
content within (a couple of links).
Is width: auto the wrong property to do this? Is Mozilla rendering the
style wrong?
|
by: day |
last post by:
I know I've seen this issue described before, but I can't find it, or
the solution now that I need it.
I have some css-specified floating divs that contain images or text.
The text divs have a background color and text color that differ from
the rest of the page, and I'd like them to be positioned from the
right edge of the rightmost image div, to the right edge of the
browser window. In other words, if the browser window is 800 pixels...
|
by: csomberg |
last post by:
SQL 2000
I thought I would throw this out there for some feedback from others.
I'd like to know if you feel using MS auto-increment field is a good
solution these days or should one grow their own ?
Thanks,
Me.
|
by: Tamblyne |
last post by:
This problem has got to have a simple solution and I can't be the first
person who has ever handled it. Perhaps Google is no help because I'm
not using the right terms? (I did find one post on-point, but no one
responded to it.)
I have a two column layout with a header and a footer. If the "content"
is longer than the "navigation", there is no problem. However, if the
content is shorter than the navigation, the navigation menus...
| |
by: Matt |
last post by:
Hi,
I've been thinking about how to do this, but can't think of a solution.
I have a class that is derived from System.Web.UI.WebControls.DataGrid which
works a treat, but I'd like to extend the DataGridColumnCollection class
(property of DataGrid) just a fraction by allowing a string indexer. i.e.
rather than using
myDataGrid.Columns.Visible = false;
|
by: Robin Tucker |
last post by:
Hi there,
I have this really frustrating problem with Visual Studio (Microsoft Visual
Basic .NET 2003 69586-335-0000007-18843). I have got used to using the
autocomplete and auto indent features of this excellent source editor but
recently it has only operated on some of my source files and not others. I
have made sure the settings in "tools->options->text editor" are set
correctly but to no avail. For example, hitting enter at the...
|
by: Ian Richardson |
last post by:
Hi,
The function I've put together below is a rough idea to extend a SELECT
list, starting from:
<body>
<form name="bambam">
<select id="fred">
<option value="1">1</option>
<option value="2">2</option>
|
by: bullines |
last post by:
Greetings!
I'm interested in extending what's available in the .NET framework
with regards to globalization and localization. I've read many
articles that discuss extending so that a datasource other than RESX
files (Ex: database) can be used, such as this one:
http://msdn2.microsoft.com/en-us/library/aa905797.asp
Most of these articles use the same idea of key-value pairs - just a
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |