peronn Posted August 4, 2005 Posted August 4, 2005 I'm not sure if this question belongs here or not. But anyway, i have one file called main.fm7 that contains all the data / layouts and logic. Then i have a second file called help.fm7 that conatinas all the help texts and info. I wan't to be able to have a script in main.fm7 that with the help of a scriptparameter (that shows what the user clicked on and want help with) finds and displays the correct helptext from help.fm7. How do i do to accomplish this? The main question is how do i "find" the other file and how can i get data from it to the first file? Thank you for reading! P
PeterHW Posted August 4, 2005 Posted August 4, 2005 This is probably not the right forum to ask, but I'll answer anyway. Calling a script from another file is no problem, you just have to define a file reference (File Menu/Define/File reference). Or you can even do it on-the-fly when specifying the button on your layout (context menu "Specify button") choose Perform Script and click Specify. In the drow-down menu at the top you see the current file (main), but you can also choose "Add file reference" from there. Select your Help.fp7 file and the script you wish to call, together with the appropriate script parameter. I fooled around with it just a little and came up with a very simple popup help system, see the attachment. Best regards, Peter Help.zip
Recommended Posts
This topic is 7052 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