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: Dynamic Property and Edit Field
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
Aug 18, 2009
10:13 AM
Dynamic Property and Edit Field
Hello, I have a problem.
I have done a XML File Value via System Search and the result of this search is a property MYTEXT.
When I am creating a Text Area with [MYTEXT], it's working (the resultat is printing) but when I create a Edit Field (property MYEDIT) and I wrote in the Property Manager :
Name : MYEDIT
Value : [MYTEXT]
It's print : [MYTEXT] (and not the resultat)
How print the value of MYTEXT in a edit Field ?
Thank you.
--
Sorry for my English, I'm not a native English.
I have done a XML File Value via System Search and the result of this search is a property MYTEXT.
When I am creating a Text Area with [MYTEXT], it's working (the resultat is printing) but when I create a Edit Field (property MYEDIT) and I wrote in the Property Manager :
Name : MYEDIT
Value : [MYTEXT]
It's print : [MYTEXT] (and not the resultat)
How print the value of MYTEXT in a edit Field ?
Thank you.
--
Sorry for my English, I'm not a native English.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 18, 2009
10:56 AM
The values in the property manager are not formatted, so they do not resolve other property references. Among other reasons, this prevents things like APROPERTY being defined as [APROPERTY] causing all sorts of problems.
If you do not want to set your Edit control's Property to MYTEXT (for instance you do not want to allow the user to change MYTEXT here), you should probably create a new property on the fly with a Set Property custom action, or even a set property Control Event on an earlier dialog. Both of those will resolve property references, so you can set MYEDIT to [MYTEXT] and get the results you want.
If you do not want to set your Edit control's Property to MYTEXT (for instance you do not want to allow the user to change MYTEXT here), you should probably create a new property on the fly with a Set Property custom action, or even a set property Control Event on an earlier dialog. Both of those will resolve property references, so you can set MYEDIT to [MYTEXT] and get the results you want.