Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print to form

Status
Not open for further replies.

robert693

Programmer
Jun 20, 2001
40
US
I would like to print a matrix to a form but when I do the rows are spaced alright but the columns are spread out about an inch apart from each other. The matrix will not fit on the form well enough to be read. I have tried various things to correct this but none worked. Any help would be greatly appreciated.
 

robert693, robert693, robert693, what are we to do? How in the world are we supposed to know what code you have so far and what methods you have tried and are using to print this information to your form?

I really think that you need to read FAQ222-2244 so hopefully it can help you phrase a better question, and while you are at it you may want to pay special attention to item 15.

Good Luck and good reading of FAQ222-2244

 
This is the code that I have used to print a matrix to a form. It is really straight forward, I just need to know how to change the appearance of the matrix that then prints.

Robert
 
This is the code that I have used to print a matrix to a form. It is really straight forward, I just need to know how to change the appearance of the matrix that then prints.

Private Sub Form_Paint()
Dim i, j, s As Integer
Cls
For i = 1 To 8
For j = 1 To 12
s = Matrix1(i, j)
Print s,
Next j
Print
Next i
End Sub

Robert
 
Ok robert693, how exactly do you wish to change the appearance. Do you want bigger fonts, change colors, change spacing, be more specific.


"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Wow robert693, 29 post and only 5 responses and yet to thank anyone for the help??? Please read FAQ222-2244 #15 as vb5prgrmr mentioned.

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top