Hi!
void templateChoiceUpdate(DBE xx)
void makeBoxForFolderExport()
The problem is in the function templateChoiceUpdate. There I get these action-windows outputs:
-E- DXL: <Line:1202> Falsche Argumente für ==)
Can anybody help me? tobi_mehrl - Tue Oct 06 08:55:08 EDT 2015 |
Re: How to toggle between inactive and active radio buttons? Seems like you have not declared the DBE variables exportFileSelect and templateChoice before you used them in the functions. Just declare them DBE exportFileSelect, templateChoice in the beginning of the script. /sekrbo |
Re: How to toggle between inactive and active radio buttons? sekrbo - Tue Oct 06 09:08:19 EDT 2015 Seems like you have not declared the DBE variables exportFileSelect and templateChoice before you used them in the functions. Just declare them DBE exportFileSelect, templateChoice in the beginning of the script. /sekrbo Hi Tobias, I concur with Kristian, it's always good practice to declare dialog box variables at the beginning of the script. I suggest you set auto declare off to ensure all variables are declared add XFLAGS_ &=~AutoDeclare_ to the start of your script, startup.dxl or a specific file in startupFiles folder --- Martin |
Re: How to toggle between inactive and active radio buttons? Hi!
Thank you for your answer!
As against to your assumption I don't have declared the DBE objects: I have declared them at the beginning of the whole script. But: Do you maybe mean I have to declare this variables at the beginning of the function, in which the DBE objects where must be used? I have tested the script when I have written the declaration at the beginning of the function in which where the DBE object where used: I got the same failure!
Do you know any other approach to solve the problem?
Edit: Obviously, the problem is the variable exportFileSelect. I have now tested the function "void templateChoiceUpdate(DBE xx)" I have changed the function to this:
void templateChoiceUpdate(DBE choicer)
The calling statement of this function goes like that: templateChoiceUpdate(templateChoice)
If I comment out the inactive ... and active ... statements in the if paths I got no failures! At the time I comment in this two statements I got this failure:
-R-E- DXL: <Line:1231> Nicht zugeordnete Variable (exportFileSelect)
Edit2: Now, I have found the mistake. There was a double declaration of this exportFileSelect available.
Thanks! |
Re: How to toggle between inactive and active radio buttons? Now, I have a second question.
How can I read the path, which I have chosen with the file selector? |