Possible form editor problem with 5.70LTS

Just starting out? Need help? Post your questions and find answers here.
User avatar
hujambo
User
User
Posts: 48
Joined: Wed May 15, 2013 8:26 pm
Location: South Pacific

Possible form editor problem with 5.70LTS

Post by hujambo »

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 :D
User avatar
hujambo
User
User
Posts: 48
Joined: Wed May 15, 2013 8:26 pm
Location: South Pacific

Re: Possible form editor problem with 5.70LTS

Post by hujambo »

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.
User avatar
Olliv
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Sep 22, 2009 10:41 pm

Re: Possible form editor problem with 5.70LTS

Post by Olliv »

I will test on 5.50. I cannot do better actually...
User avatar
hujambo
User
User
Posts: 48
Joined: Wed May 15, 2013 8:26 pm
Location: South Pacific

Re: Possible form editor problem with 5.70LTS

Post by hujambo »

Thanks Olliv
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: Possible form editor problem with 5.70LTS

Post by Marc56us »

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.
User avatar
hujambo
User
User
Posts: 48
Joined: Wed May 15, 2013 8:26 pm
Location: South Pacific

Re: Possible form editor problem with 5.70LTS

Post by hujambo »

Thanks for the workaround Marc56us.

At least I know it's not me :lol:
Post Reply