PDA

View Full Version : listbox showing formulas


chanty
11-16-2003, 09:59 AM
Hello,

From a listbox I want to show different formulas.

The formula's looks like this

A 10
B 20
C 70
---
100

I tried to manage the formula's with the conditional text option which works easy for a simple textline but what about formula like mines ?
How can I put them in a ordered way ?

JimS
11-16-2003, 02:10 PM
Un-check the Sort Items at run time option on the List box's property page. That way the items will stay in the order you choose.

chanty
11-17-2003, 07:01 AM
I'm probably not clear enough with my question.

I have a listbox with a list of names :

formula 1
formula 2
formula 3
.....

and I need a textbox where I can show the result of formula 1

the results of the formula's is like this :

comp A 20,0 parts
comp B 30,0 parts
Comp C 50,0 parts
------
total 100,0 parts

I tried with formula 1:: comp A 20 parts comp B 30,0 parts ..... but I guess this is not the way to do it, as not all caracters has the same lenght...

Can anyone give me a better way to do it ?