will you please tell us what version of FM you are using?
Oiê (Olá is spanish :-) )
I use FM15 all the newest.
(I used Google Translate for Portuguese - I just posted Oiê as a suggested edit for "Hello".)
Is there a reason that you have so many files? Can you possibly consolidate them into a single solution? Or did I misunderstand?
I just think it is easier to handle.
I mean.. what does the invoice file have to do with the batch number file of production.
I would rather not have one monolith.... It is a MRP that handles contact, invoicing, storekeeping, production for a cosméticos company. I am also afraid that if a file gets corrupted... well.. in short... It has to be many files.
When copy/pasting layout elements from one file to another, you have to first import or reproduce any elements that they reference first, before you paste.
So if you set up a folder of scripts--each script performed by a button in the button bar, you would import that folder of scripts into each file first, then you would copy and paste the buttons.
But note that any data references inside your scripts will not import successfully unless the same exact context, fields and table occurrences needed for the script are also reproduced in the file before you import the scripts. For a button bar of "navigation" buttons, that might not matter--much depends on how you write your scripts.
Hey Phil and David.
Thank you both for your help. I really appreciate it.
I just found it out myself.
When I edit the button bar in the "menu" flie, my central UI file, the one where it calls all the scripts for navigation and paste it into other files.... the " perform script " step does not go along.
However.. If I finish my button bar in another file..say.. "financeiro" I can past this button bar into all other files and it correctly does perform script " xy" from file " menu" .
Hope one could understand my english..
The second part o my question however I have not figured out. My Popover menu in file xy stays open when I go from xy file to the other through my interface UI file " menu" .
1. create the script in the file before pasting in the bb
2. Use a local script in the same file as the bb, to call the remote file script, rather than defining the bb to do the remote script
bb in file B do script navMain in B
do script nav_main in file A
about the Olá..I myself am swiss and live for years is São Paulo...and as you and google pointed out "olá" is used here..the Why do I see more people using "oi". I asked my wife and she said YOU are corrct with Olá. Then I looked it up: It seems that "oi" is actually Tupi-guarani, a language spoken by these peoples of the same name who dominated culture from the Missoes (Uruguay, remeber the movie with De Niro) up to about São Paulo, further up other tribes being dominant.. This language got spoken in São Paulo more than portugese until the turn of the 19. century and is very common in São Paulo still... so..sorry I mis- corrected you but I learned everybody saying "Oi" ...
"When in São Paulo ..."
thanks for the reply. A scipt in each file to close things and then take off to the UI file would surely work...but would leave me again with tons of scripts scattered all around.
I have by now finished my re-theming and upgrading of our internal MRP solution.All file now use the same custom theme, have the same look, the same navigation bar which calls the same script..... and sometimes the popover just stays open and users have to click outside to close... but since I am also the owner and boss thats acceptable and nobody really complains hahaha.