Post a reply to the thread: Read Edit control value in custom dialog
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Read Edit control value in custom dialog Originally Posted by linder BTW, when I can find some time this busy weekend, I'll try to use your project as an example and add some more script logic. Friedrich Thanks for the extended support.
Re: Read Edit control value in custom dialog
Re: Read Edit control value in custom dialog BTW, when I can find some time this busy weekend, I'll try to use your project as an example and add some more script logic. Friedrich
Re: Read Edit control value in custom dialog ZIP file with some custom example projects and direct links to the full Example Package / Tips and Tricks manual sent. Friedrich
Re: Read Edit control value in custom dialog Originally Posted by linder The problem is that your script logic (especially the event handling in your OPTIONS and READYTOINSTALL dialogs) is incorrect. The solution would be to handle the events. As I understand it, you do not have downloaded the required documentation. But you really need the examples / documentation to learn how to use this feature. Please send your email address to our Support [at] lindersoft [dot] com and we'll send the dialog examples. I am afraid that the help file is too large. Friedrich Email address is shared.
Re: Read Edit control value in custom dialog The problem is that your script logic (especially the event handling in your OPTIONS and READYTOINSTALL dialogs) is incorrect. The solution would be to handle the events. As I understand it, you do not have downloaded the required documentation. But you really need the examples / documentation to learn how to use this feature. Please send your email address to our Support [at] lindersoft [dot] com and we'll send the dialog examples. I am afraid that the help file is too large. Friedrich
Re: Read Edit control value in custom dialog Originally Posted by linder Do you mean another solution to get the access to the examples? Perhaps via email? Friedrich If you could suggest solution of my original posted problem in this post or mail. Also could you please mail me examples/help files for events and custom dialog.
Re: Read Edit control value in custom dialog Do you mean another solution to get the access to the examples? Perhaps via email? Friedrich
Re: Read Edit control value in custom dialog Originally Posted by linder Yes, exactly. That what I meant in my previous comment. There are some more issues in your script logic Sometimes, you execute the same code twice and overwrite values. Did you already download the Example Package and Learning SetupBuilder Part I? There are some very interesting custom dialog demo projects available (including "event handling"). Friedrich I dont have download rights at my system and could not access Example Package and Learning Setup Builder Part I. Could you please help with solution ?
Re: Read Edit control value in custom dialog Yes, exactly. That what I meant in my previous comment. There are some more issues in your script logic Sometimes, you execute the same code twice and overwrite values. Did you already download the Example Package and Learning SetupBuilder Part I? There are some very interesting custom dialog demo projects available (including "event handling"). Friedrich
Re: Read Edit control value in custom dialog Originally Posted by linder Hello, There are some problems in your script logic. You do not handle the events correctly or not at all ($EVENT:ONINIT$, $EVENT:ONREOPEN$, $EVENT:ONUPDATE$). Sometimes, you execute the functions twice and this results in an unexpected behavior. To fix the problem from the question asked, add the %DEST_DIR% runtime variable to the Static Text field. Then remove the Set Text "%_SB_INSTALLDIR%" to ControlID "DESTFOLDER" line from the script. But again, there are some more problems in your script logic. This will only fix one of them. Does this help? Friedrich P.S. NEVER create a folder from within the wizard that collects information from the user. All this should be executed after the wizard. Thanks. I am still facing some issues after I did both suggested changes - 1. Add the %DEST_DIR% runtime variable to the Static Text field, 2. remove the Set Text "%_SB_INSTALLDIR%" to ControlID "DESTFOLDER" line from the script. Issues: 1. Change of installation folder done by keyboard on options dialog only get reflected once on ready to install dialog. If we do back and change installation folder it is not reflected on ready to install. 2. Now change of installation folder using Change button also not get reflected on ready to install. 3. When we do back the edit control shows the default install dir not the changed one.
Forum Rules