PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFBE Suite 1.9.2-beta1 (April 24, 2019)  (Read 745 times)

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« on: April 24, 2019, 06:53:43 PM »

https://github.com/PaulSquires/WinFBE/releases

Beta version featuring major internal changes to the visual designer code generation and underlying engine. This beta is intended for testing of these visual designer features. No changes to the core WinFBE editor itself - only the visual designer has changed.

(Note: The documentation for the visual designer has yet to be updated)

Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #1 on: April 24, 2019, 09:25:25 PM »

Although the Status Bar Editor is functional, it does not generate any code yet. I will implement the code generation before I upload a final 1.9.2 version.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #2 on: April 25, 2019, 03:07:22 AM »

Hello Paul
Many thanks for the new version.

I took my test object again and compiled it with the new version.Now I get the error.

Quote
E:\WinFBE_Suite\Sample_Projects\TEST-PROJEKT\Fenster.bas(1089) error 42: Variable not declared, InitializeComponent
In version 1.9.1 I don't get the error.
Logged
Greeting from Germany

Joerg

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #3 on: April 25, 2019, 07:17:14 AM »

Hello Paul
probably just a little something.

I can only use the code tips or the automatic completion if I remove the hook in the settings, save it and set the hook again.
Logged
Greeting from Germany

Joerg

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #4 on: April 25, 2019, 02:21:38 PM »

Hello Paul
I have adapted the German language file to the new version.
Logged
Greeting from Germany

Joerg

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #5 on: April 25, 2019, 02:38:56 PM »

Thanks Joerg! Appreciate it :)
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #6 on: April 25, 2019, 02:42:34 PM »

That "InitializeComponent" error is because of new code generation that I added to the engine. When a Form is created, the constructor calls InitializeComponent to essentially assign values to all of the controls and add those controls to collections. When the Form is destroyed, the InitializeComponent is called again in order to reset the values back to original so that if the Form is shown again then the default/original values will be used.

I had programmed the visual designer to regenerate all Form code when the project is compiled so I am surprised that this error would appear.

I assume that any newly created project does not show this error???
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #7 on: April 25, 2019, 02:43:22 PM »

Also, did you test this WinFBE beta version in a new separate folder, or did you copy the files over an existing WinFBE installation?
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #8 on: April 25, 2019, 04:18:26 PM »

Hello Paul

I installed the beta version in a separate directory.
I get this error regardless of whether I compile a new form without controls, drag any controls onto the window or compile an existing project.

I'll try again tomorrow at the office.
Logged
Greeting from Germany

Joerg

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #9 on: April 26, 2019, 04:23:17 AM »

Good morning Paul

I reinstalled the beta version on a directory in the office this morning.
What surprises me now is that this error does not occur now.
Neither in an "empty" project, with controls or with existing projects.

In this case, there must be something in my "old" directory somewhere that causes the error.
If I can narrow down the error I write again.
Logged
Greeting from Germany

Joerg

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #10 on: April 26, 2019, 07:47:10 AM »

Hello Paul

I got the error message again.
It is probably due to the WinFBE.ini.

If I delete the WinFBE.ini and replace it with the original file, I don't get the error anymore. I don't know if it plays a role. I have the beta version in a subdirectory of the release version.

If it helps you, I can upload the working and the "damaged" WinFBE.
« Last Edit: April 26, 2019, 07:49:34 AM by Joerg Buckel »
Logged
Greeting from Germany

Joerg

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8793
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #11 on: April 26, 2019, 08:32:11 AM »

The InitializeComponent call is made from the base wfxForm class. That would indicate to me that maybe you are pointing your compiler setup to a different path that the one that is in the WinFBE Suite download? You would need to point your compiler to the one in the download because then the paths to the include files will be correct. The download contains the latest files for the WinFormsX classes that I wrote to handle the visual designer code generation. Those classes are located at .\WinFBE_Suite\FreeBASIC-1.06.0\inc\WinFormsX

If you are using a different, or older, version of the compiler and/or includes then you will definitely run into problems. Likewise, the new download uses a different format for the codetips/automplete related to the controls keywords. That file is codetips_winformsx.ini located in your .\Settings folder.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Joerg Buckel

  • Junior Member
  • **
  • Posts: 81
  • FF3 and WinFBE+WinFBX User
Re: WinFBE Suite 1.9.2-beta1 (April 24, 2019)
« Reply #12 on: April 26, 2019, 11:38:05 AM »

Hello Paul

Thank you very much for your feedback and explanation.

I have now understood that. :-)
I've fixed my "bug" and now it's working fine.
Logged
Greeting from Germany

Joerg