cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Balaji_Vinu
Level 5

Get the value from combobox.

Hi Folks,
I have a combo box which is populated with values during runtime. And when user selects a particular value from the combo box i have to parse the value to a function. How can i get the value that user is selecting during runtime.

I have created a property for the combo box in property manager with the name ENVICOMBOBOX with the value 12345.

I have tried out the option CtrlGetCurSel property but no luck 😞

CtrlGetCurSel("CustomDialog", ENVICOMBOBOX, svDrive); .

Please let me know how it can be done?
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

For Basic MSI, you'll want to call MsiGetProperty with the combo box property to get the selected value.
0 Kudos
Balaji_Vinu
Level 5

Thanks Robert, it worked out fine.
0 Kudos
another_1
Level 4

But how do you populate a combo box at runtime?

Balaji Vinu wrote:
Hi Folks,
I have a combo box which is populated with values during runtime. And when user selects a particular value from the combo box i have to parse the value to a function. How can i get the value that user is selecting during runtime.

I have created a property for the combo box in property manager with the name ENVICOMBOBOX with the value 12345.

I have tried out the option CtrlGetCurSel property but no luck 😞

CtrlGetCurSel("CustomDialog", ENVICOMBOBOX, svDrive); .

Please let me know how it can be done?
0 Kudos
RobertDickau
Flexera Alumni

Follow-up of sorts [thread=186166]here[/thread].
0 Kudos