Hi guys, is anyone having any extra problems with the form editor on 5.70LTS?
I'm currently working on an app with multiple windows so only using the form editor in its base form with no events etc. What I'm finding is that occasionally after making a change or two on a form when I compile/run I get an error End Procedure without Procedure in line xx. When I then click on code view everything looks ok but if I close that .pbf file and reopen all the gadgets are gone and you are left with a blank window with the code for an events procedure?!?
I'm trying to re-create the situation that causes it at the moment.. Can't 100% say it's not me at the moment
Possible form editor problem with 5.70LTS
Re: Possible form editor problem with 5.70LTS
I can re-create it by doing the following:
1) Open project and more than one .pbf file
2) Edit a form with the form editor - resize the window seems a guarantee.
3) Switch to another form and then compile and run.
The first form creates an error, but if you click on it all seems ok.. you can save it, look at the code and everything appears normal. Close this form and re-open and it is now blank.
1) Open project and more than one .pbf file
2) Edit a form with the form editor - resize the window seems a guarantee.
3) Switch to another form and then compile and run.
The first form creates an error, but if you click on it all seems ok.. you can save it, look at the code and everything appears normal. Close this form and re-open and it is now blank.
Re: Possible form editor problem with 5.70LTS
I will test on 5.50. I cannot do better actually...
Re: Possible form editor problem with 5.70LTS
Thanks Olliv
Re: Possible form editor problem with 5.70LTS
This is an old bug (all versions) that is easy to fix. (I have already reported it several times)
To avoid it: Always validate a modification before compiling (we validate by simply changing fields after a modification)
If this message occurs anyway, simply switch TWICE from source code mode to graphic editing mode. This forces the editor to rewrite the code (which is in memory) in editor.
To avoid it: Always validate a modification before compiling (we validate by simply changing fields after a modification)
If this message occurs anyway, simply switch TWICE from source code mode to graphic editing mode. This forces the editor to rewrite the code (which is in memory) in editor.
Re: Possible form editor problem with 5.70LTS
Thanks for the workaround Marc56us.
At least I know it's not me
At least I know it's not me