question

Borja Lorenzo avatar image
0 Likes"
Borja Lorenzo asked Jeanette F answered

How can I get the value in the second column?

Hello

I'm unsure how to retrieve the value in the second column of a combobox. I need to use this value to compose a variable called 'Linea'. However, when I obtain it, I receive an index rather than a value (such as 1, 2, 8, or 4) when the LR was selected during depainting.

Thank you for your assistance.


1717580443496.png

FlexSim 24.1.0
flexscriptcustomcodecombobox
1717580443496.png (27.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jeanette F avatar image
1 Like"
Jeanette F answered

Hello @Borlor, Your combo box needs a link to save the value that is set. Then you can reference that location to get the value.

ComboBoxValue.fsm


comboboxvalue.fsm (25.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.