Rathinagiri wrote:Pablo, we can use entirely a different concept here.
Yes, this a very important issue to be approached.
Rathinagiri wrote:We have to decide what are all the things we can share with user and what are all to be retained with the developer.
Yes this is one good question. But you do not think the developer would decide this ? I am referring when developper makes a simple app which considere not important to be exposed with screen made on the fly. Common user, does not have knowledge to make programms and also they are unknown with the internal structure of files and what it is used for.
In other words is quite the same idea to think that delivering DBFs to the client is a big risk. And in somewhat, yes it is a risk, IMHO.
For example, as Marek stated we can't expose the OnGotfocus function name to user.
I believe there is a confusion around this new approach of opening fmg files. Let see what the proposal is:
- To take fmg file and be loaded by
WINDOW LOAD FROM <fmgname>...
- Is by own risk of developper to assume to load fmg file on runtime, not as usually does: assambled in the exe file.
- I never said to release forms editions to the common users. I just creating a FMG Editor for developpers. This is just a complementary tool for us we make programs, that´s so.
Common user can not see any events happing by the new way that I am suggesting.
As I previously said, we can script the fmg file and the problem will be finished.
No body, except the developper can change the input screen on scripted fmg.
Your suggestion to use xml in place of fmg (for that loading window case) also must be scripted the xml file too for security reasons only.
Rathinagiri wrote:In my personal opinion, we need not share fmg file with the users. It should be forming part of our compilable code and should be incorporated in exe file.
Yes, I agree with you. As I said at begining, this resources could it be good or not... probably this do not need to be released as part of our lib. Better to know that it is possible to load, it is possible to read, its is possible to excute on runtime and must be considered the ethical and security reasons, already mentioned.
But please, feel you free to include this new concept of loading forms into our lib or not.

The important here is to learn and make better tools for developping systems.
P.S. Rathi, I think we should split this topic treating this matter in another new topic. Just to not mix subjects. What do you think ?