It is currently Thu Dec 05, 2019 9:09 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Possible form editor problem with 5.70LTS
PostPosted: Tue Jul 02, 2019 7:49 pm 
Offline
User
User
User avatar

Joined: Wed May 15, 2013 8:26 pm
Posts: 38
Location: South Pacific
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible form editor problem with 5.70LTS
PostPosted: Tue Jul 02, 2019 8:39 pm 
Offline
User
User
User avatar

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible form editor problem with 5.70LTS
PostPosted: Wed Jul 03, 2019 12:01 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Sep 22, 2009 10:41 pm
Posts: 456
I will test on 5.50. I cannot do better actually...


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible form editor problem with 5.70LTS
PostPosted: Wed Jul 03, 2019 12:06 am 
Offline
User
User
User avatar

Joined: Wed May 15, 2013 8:26 pm
Posts: 38
Location: South Pacific
Thanks Olliv


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible form editor problem with 5.70LTS
PostPosted: Wed Jul 03, 2019 6:04 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 715
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.

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible form editor problem with 5.70LTS
PostPosted: Thu Jul 04, 2019 1:42 am 
Offline
User
User
User avatar

Joined: Wed May 15, 2013 8:26 pm
Posts: 38
Location: South Pacific
Thanks for the workaround Marc56us.

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye