Problem with Visual Basics Tab Functions !!!! Please Help !!!

leeland

Diamond Member
Dec 12, 2000
3,659
0
76
ok i know this isn't supposed to be this hard, it is probably something easy i am missing, i ahve been messing with this for about an hour and not i am frustrated.

i am trying to get a heading to print out on a Pic box...so it looks like this
Employee Detailsl
==================================================================
Employees Gross Pay Gross Taxes Net Pay
===================================================================



Ok Not that hard...here is what i have programed

picOutput.Print "Payroll Details"

picOutput.Print F1

[bpicOutput.Print "Employees"; Tab(10); "Gross Pay"; Tab(20); "Taxes"; Tab(30); "Net Pay"[/b]

picOutput.Print F1


F1 is the silly line that runs on both sides.


when it outputs though it is all messed up....looking something like this


Employee Detailsl
==================================================================
Employees
Gross Pay Taxes Net Pay
===================================================================


don't know if anyone can give me a pointer as to why the heck i just can't set up the darn columns spaced the way i want to...i have tried to do it just like my book shows but this is all that comes up...the reason i need the heading to be spaced is because i am reading a file in and computing the above and printing it out the picbox.

thanks to all who can reply

leeland

 

minendo

Elite Member
Aug 31, 2001
35,560
22
81
Have you tried setting up LeftAlign and RightAlign functions to set up the columns for you?
 

leeland

Diamond Member
Dec 12, 2000
3,659
0
76
well thanks for the quick reply, i am not familar with that function and how it works...so to answer your question no i haven't....am ready to kick in the screen here about this TAB function....