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
- :
- Accessing Dialog controls in Custom Actions
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
‎Feb 10, 2010
07:33 AM
Accessing Dialog controls in Custom Actions
I have a text field placed on my dialog & is associated with a property. If the user passed this property with command line arguments i have to hide the textbox , this is working fine.
When the value passed through command line is invalid then i have to show the textbox. The validation happens in a custom action, so is there any way that we can access the textbox in custom actions.
By default the textbox visible property is false, and its made true when the property is not available - this is done using the control's Conditions tab.
I am using VB Script for custom actions.
Thanks,
Vijay Bandari
When the value passed through command line is invalid then i have to show the textbox. The validation happens in a custom action, so is there any way that we can access the textbox in custom actions.
By default the textbox visible property is false, and its made true when the property is not available - this is done using the control's Conditions tab.
I am using VB Script for custom actions.
Thanks,
Vijay Bandari
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 11, 2010
01:04 AM
Hello Vijay,
you might set some other property in you custom action and use that property in the control's Condition tab.
Eric-Paul
you might set some other property in you custom action and use that property in the control's Condition tab.
Eric-Paul
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 11, 2010
07:48 AM
Hey thanks Ericpaul...
I tried the same way and it worked.
For other here is the solution (i did't accessed the controls):
I added one custom action which validates the property passed by command line arugement & sets other property (VALID) and added conditions to the control with the VALID property to hide/show.
Thanks,
Vijay Vandari
I tried the same way and it worked.
For other here is the solution (i did't accessed the controls):
I added one custom action which validates the property passed by command line arugement & sets other property (VALID) and added conditions to the control with the VALID property to hide/show.
Thanks,
Vijay Vandari