Skip to main content
1-Visitor
October 15, 2011
Solved

Listbox

  • October 15, 2011
  • 1 reply
  • 3048 views

When the selections inside a listbox are text. Mathcad will assign the row number of the selected item in the list to the variable . is it possibel to have the variable = the text of the selected item in the list? Thanks !!!!!!!!

Best answer by RichardJ

See the attached example.

1 reply

1-Visitor
October 16, 2011

just to clarify my question above:

if The listbox Code:= ASD

LRFD

where ASD are the selection in the listbox, when i select LRFD, then Code=2

is it possible to have Code="LRFD" rather than the row number?

becuase all my condiional "if" statments are based on the condition of whether "Code= "ASD" or "LRFD"?

Thanks!

1-Visitor
October 16, 2011

i am attaching a mathcadsheet to clarify my questions above. Does the script for the listbox need to be changed to be able to accomplish it?

RichardJ19-TanzaniteAnswer
19-Tanzanite
October 16, 2011

See the attached example.