[Done] Cannot edit the .pbf file within the IDE

You need some new stunning features ? Tell us here.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

[Done] Cannot edit the .pbf file within the IDE

Post by Neil »

Hi Polo,

It appears that we cannot edit the .pbf file within the IDE. Is this correct ??

I edit the file and save.

I then check the file using an external editor and it has not changed.

Thanks,

Neil
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Cannot edit the .pbf file within the IDE

Post by IdeasVacuum »

....there is an essential amount of formating required such that the code can be represented in the graphics designer, so generally you cannot edit the code manually and expect the form designer to 'understand'. What I and others do is to use the form designer to get the layout of the window to be as required, and from there onwards manually edit, saving the file as a .pb or .pbi. This method cuts off retrospective form editing in the Form Designer, but it's a small price to pay.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: Cannot edit the .pbf file within the IDE

Post by Neil »

IdeasVacuum wrote:... so generally you cannot edit the code manually and expect the form designer to 'understand'..
I am not asking that the Form Designer "understand" my manual edit.

I realize that if I edit the file, and let the Form Designer regenerate the file, my edits will be lost, I was just trying to confirm that the IDE won't even let me save my edits!!

Rather than exiting the IDE, changing the file extension, running the file to see if all ok, I was hoping to be able to check that my edited lines were valid.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Cannot edit the .pbf file within the IDE

Post by IdeasVacuum »

...the IDE will let you save your edits, SaveAs a .pb or .pbi instead of .pbf
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Cannot edit the .pbf file within the IDE

Post by Polo »

Looks like a bug.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: Cannot edit the .pbf file within the IDE

Post by Neil »

IdeasVacuum wrote:...the IDE will let you save your edits, SaveAs a .pb or .pbi instead of .pbf
Umm - that's not a "Save" - that's a "Save As" !!

I then have to change the files in the "Project" definition file.

No big deal if I have to, but still not answering/confirming my original query.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Cannot edit the .pbf file within the IDE

Post by IdeasVacuum »

well, it is the answer really, just not the one you had hoped for.......... :cry:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Cannot edit the .pbf file within the IDE

Post by Polo »

Neil wrote:No big deal if I have to, but still not answering/confirming my original query.
I just did ;)
It should work, and save what the file format can, but it seems it doesn't!
Until it gets fixed, make sure you're in design mode when you save your forms.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: Cannot edit the .pbf file within the IDE

Post by Neil »

IdeasVacuum wrote:well, it is the answer really, just not the one you had hoped for.......... :cry:
Ummm - It's a "solution" to my problem (which I knew anyway) but not an answer/confirmation to my original post !!

and I didn't "hope" for anything, I was just trying to confirm my observations.

Yet again:

Is it correct that the IDE will not let me save to a .pbf file ??


As I stated, it appears so !!

Once this is confirmed, then I can worry about what I do about it.

Note that I am not suggesting that this is a bug - If that's the way things are - fair enough - I can understand why they do want to lock the file.

And it looks like from Polo's post that this may be the case.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Cannot edit the .pbf file within the IDE

Post by Polo »

Fixed.
Post Reply