home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
tables
/
read.txt
next >
Wrap
Text File
|
1991-07-14
|
1KB
|
25 lines
Hi,
This program demonstrates how to use VB Label Controls to display tabular
data. I'm quite pleased with the results and I hope you will be also.
Label Controls are useful for displaying tabular data because they have
a Property that Text, ListBox and Picture Controls don't have, namely, the
Alignment Property. By setting a Label Control's Alignment Property
correctly to Left or Right Justified and then using the correct
Str$() and Format$() commands, you can create a table of data that has
Left Justified string data and Decimal Aligned numeric data. You can even
center the Decimal Aligned numeric data within the column.
The nice thing is that you are NOT restricted to using mono-spaced fonts.
The demo program uses the VB default HELV font which is proportional.
To try out the program, simply load it into VB and run it. Click on the
vertical scroll bar to move up and down the list of sample data.
PLEASE. Give me some feedback. I think this program is the bee's knees, but
I really want to know what you think.
Keith F. (CIS 72240,2020)