This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Get the value from combobox.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
06:13 AM
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?
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?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
06:41 PM
For Basic MSI, you'll want to call MsiGetProperty with the combo box property to get the selected value.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
11:21 PM
Thanks Robert, it worked out fine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2009
06:22 PM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2009
06:43 PM
Follow-up of sorts [thread=186166]here[/thread].