revjj Posted January 24, 2022 Posted January 24, 2022 I have a layout that shows a popover menu that that allows you to to select one of many buttons that perform the same script using different script parameters for each button. i.e., the script parameter for button water is "water", the script parameter for for the button power is "power", etc. The layout is here. The script is as follows. Var1$ also sets the Chart Title. When I select the button water, power, media. etc. I get the appropriate chart title but when I select the JBJ button the chart title defaults to "Power" every time. Pretty strange. See the video. FM Movie.mov
comment Posted January 24, 2022 Posted January 24, 2022 Based on your description, it should work (at least up to a point*). So either the actual file is different from the description or there is something else that you have left out. -- (*) As you know, a script variable (prefixed by a single $) is scoped to the duration of the script. Since your script is still running when the chart is rendered, the title will be populated by the value in the variable and displayed as such. But on the next window redraw the title will be empty.
revjj Posted January 25, 2022 Author Posted January 25, 2022 I have another video here with audio that slowly shows what's going on. I'll make this as short as possible as this forum does not allow for large videos ( I already tried that). To preface, here is a layout that points out the areas to focus on. Specifically, $Var1, Bill Type and Chart Header. I'm showing the graph itself as well as the script debug tool and data viewer. Hopefully my video will attach as well. Note: The MP4 wants to open in a windows application but QuickTime handles it well. Thanks again. FM Movie II.mp4 FM View.pdf
comment Posted January 25, 2022 Posted January 25, 2022 I am afraid I don't know how to detect the problem by looking at pictures. What could help is a file showing the problem - and only the problem.
Recommended Posts
This topic is 1031 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now