project in Arrays

esmel912

New member
Joined
Feb 20, 2006
Messages
2
Location
wa state
Programming Experience
Beginner
I am trying to write a program that displays the nine different units of measurement for ex: inch,yard,meter,fathom,rod,furlong,kilometer and mile. How do i make my list box have the results come out spaced (aligned) correctly. I've tried it and my results come out aligned diffently.

for ex:

fruit vegetables meat
apple carrot pork
watermelon potato chicken

please help

Esmeralda Lua
 
try vbTab for delimiter
 
Don Delegate, how is that supposed to solve the alignment problem for the listbox in question?

esmel912, vbTab does work for this alignment in listbox, but I would rather have used a listview in detail mode for displaying this kind of data.
 
If you draw the items yourself, you show and/or align what you want, like you want..
The items can be objects or boxed structures, with properties (or even methods) like Yard, Meter, Furlong, WhatEver, ...
 
well, ok, but that sounds like a really lot of measuring of all involved datafields, every field of every item has to be measured, then all "columns" aligned before anything can be drawn..
I can't see that this awesome-lot-of-work method will accomplish anything at all compared to just putting a tab in between the fields of each item.
 
JohnH said:
I can't see that this awesome-lot-of-work method will accomplish anything at all compared to just putting a tab in between the fields of each item.
No offense, but I can. :D
And it's really not an awesome-lot-of-work method, as you seem to think.
But hey, if someone else is happy with the tab method, no problemo! *



* Yes, I know it's actually: no problema
 
Don Delegate said:
No offense, but I can.
I am not being quarrelsome here, but I think your suggestion is misleading and your last post childish secretive.
Please tell me, my brain activity is obviously down today and I can't find any arguments for using your sketched method. So what is it?
And what are your estimates for doing this? 50 codelines? compared to using two vbTab constants...
 
Back
Top