robshortii Posted November 12, 2004 Posted November 12, 2004 Hi, Can someone tell me if you can create a value list to have a pop up menu and select what field you want to go to...this would be to eliminate buttons. thanks in advance for some help. rob
QuinTech Posted November 13, 2004 Posted November 13, 2004 Hi, Rob. The only way to do this in FM6 is with a plugin such as ScriptIt. If you do not require value lists, you could instead make a portal and build it so that its contents match the contents of the value list, and then attach a button to each portal line that calls a script to take the user to the desired field. Another alternative would be to create a script that: 1. takes you to a selector field that has the value list attached 2. waits for the user to select from the list and click a "Continue" button 3. goes to the field appropriate for the selection. HTH, Jerry
transpower Posted November 13, 2004 Posted November 13, 2004 This is yet another example when field event trapping would be desirable. Here, you would like to pick a field from a list and then use the Script steps Go to Layout and Go to Field. On version 7, a free plug-in to do this is EventScript. As QuinTech said, for version 6 you could use ScriptIt; another choice would be Waves' Events.
robshortii Posted November 13, 2004 Author Posted November 13, 2004 Thank you both for the information, i will look at the scriptit and waves plugins. I thought about the go or continue button next to the field with the layout name or form name selected but was unable to get it to work. Thanks again Rob
transpower Posted November 13, 2004 Posted November 13, 2004 With a button next to the field with the layout name, you could attach a Script with the Step to Go to Layout | Layout Name by Calculation | and then just put that field name in the calculation.
MoonShadow Posted November 13, 2004 Posted November 13, 2004 Whoa! You want to change layouts, right Rob? Your Subject indicates layout switch but your first message says you want to change fields! But your last indicates again a layout switch? I just want to be sure we're clear on exactly what you want because changing layouts by selecting its name from a popup is absolutely possible!! I used scripts with popups (in this and similar ways) in vs. 6 multiple times! You may wish to check out a prime example of layout switching which would work perfectly on your vs. 6 Win OS by using a popup. It is demonstrated by CobaltSky at NightWing Popup Layout Menu. The secret is in using the layout number in versions prior to 7.
robshortii Posted November 16, 2004 Author Posted November 16, 2004 I was looking for pop up menu to bring me from layout to layout. I will try the button calc using go to and i will look at the link. thnaks, rob
Recommended Posts
This topic is 7389 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