PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Update  (Read 725 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Update
« on: March 21, 2018, 10:01:04 AM »

I've had a few people email me regarding the development of WinFBE and how quiet it has gotten over the past couple of weeks. Just a quick update to let you know that I am still working on everything but at a little slower pace because this is the busiest time of year for my real world job. Every year at this time I slow down with programming but it usually only lasts around the Feb/Mar months. I should be back up to full speed again soon. In the meantime, I have been making modifications to WinFBE's visual designer and that is progressing well. The next WinFBE release will show off that new functionality at least for a handful of basic controls that WinFormsX supports so far.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Johan Klassen

  • FireFly3 Registered User
  • Little Newbie FireFly
  • *
  • Posts: 26
  • FF3 User
Re: Update
« Reply #1 on: March 21, 2018, 12:10:20 PM »

good to hear from you Paul  :)
I seldom make any posts but I follow your work and that of Jose Roca with interest and it's nice to see posts regarding your progress.
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #2 on: March 26, 2018, 02:35:45 PM »

Been working on the visual designer portion of the editor. Have you ever run into a problem that bothers you so much that you can't sleep? :)  Well, I have. Been encountering a random GPF on project close involving design forms and it's been hard pinpointing it. Time to break out the debugger and trace line by line.  :)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #3 on: March 28, 2018, 03:07:37 PM »

...crisis averted. I can sleep now.  :)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

SeaVipe

  • FireFly3 User
  • Little Newbie FireFly
  • *
  • Posts: 33
  • Win 7/Win 10
Re: Update
« Reply #4 on: March 28, 2018, 08:01:06 PM »

 :D
Logged
Clive Richey

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #5 on: April 09, 2018, 03:54:44 PM »

Back to working on WinFBE. The busiest time of the year for my regular is now over. As discussed before, I am working on the visual designer. Just finished the code for saving the form and controls to disk file. Now need to write code to read that data back into WinFBE when a form file is loaded. I hope that my recent inactivity on the project will now be a thing of the past and this forum can start generating more discussions. Once again, if it wasn't for Jose's WinFBX library, creating WinFBE would be a much more laborious process.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Andrew Lindsay

  • FireFly3 Registered User
  • Junior FireFly Member
  • *
  • Posts: 70
Re: Update
« Reply #6 on: April 09, 2018, 08:15:33 PM »

Paul, I'm watching with bated breath.  I enjoy seeing the solutions that you guys develop, and am always amazed at Jose's ability to churn out informative and very readable examples of the little trinkets he's developed and shared with the community.
Keep up the good work, it's very much appreciated.
Logged

Johan Klassen

  • FireFly3 Registered User
  • Little Newbie FireFly
  • *
  • Posts: 26
  • FF3 User
Re: Update
« Reply #7 on: April 09, 2018, 10:34:07 PM »

I look forward to the release :)
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #8 on: April 20, 2018, 04:18:33 PM »

Finally finished the coding for saving forms/controls and then loading/restoring them. I am very happy with the resulting code. It is simple and works great.
I need to work on the Property List now because it is pretty rudimentary at this point.
Just to let you guys that progress is being made... and should be much faster now that the busiest time of the year is behind me for my day job.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

SeaVipe

  • FireFly3 User
  • Little Newbie FireFly
  • *
  • Posts: 33
  • Win 7/Win 10
Re: Update
« Reply #9 on: April 20, 2018, 05:26:27 PM »

Thanks for the update, Paul.
Logged
Clive Richey

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #10 on: April 22, 2018, 06:27:22 PM »

I finally fixed some high DPI issues I was having with the visual designer. Thanks once again to Jose's WinFBX library. It is an essential tool for all FB programmers.

This week will see the first code generation for the visual designer. I will NOT be taking the approach that I used with FireFly. Instead, it will be kind of like the PB Forms approach where form code will be generated inline with other code. This will allow the user to have all code for a form in one disk file. The generated code will update whenever a change occurs in the visual designer and you either switch to the code editor for the form, save the form, or close the form. Once that code is implemented, I will post a version of WinFBE for you guys to see it in action and provide feedback.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #11 on: April 23, 2018, 07:30:35 PM »

Just to keep the updates coming... my first attempt at code generation as describe above has been very successful. Using the WinFormsX library for code output also reduces the amount of code that needs to be generated.
I'll update again when closer to releasing a test version for you to play with in order to get a feel for how the new system will work.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Klaas Holland

  • FireFly3 Registered User
  • Junior FireFly Member
  • *
  • Posts: 93
  • FF3 User
Re: Update
« Reply #12 on: April 24, 2018, 04:30:17 AM »

Why NOT the FireFly approach???

This is the way you teached us.

Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Update
« Reply #13 on: April 24, 2018, 08:51:54 AM »

Why NOT the FireFly approach???

This is the way you teached us.

:) Hi Klaas, to be honest there really is no longer a need to code output the way that Firefly does it. Firefly has to generate code for every form, callback procedure, and subclass. There is a lot of duplication, but it is needed for Firefly's approach. The new library has all of the code in one place so you just need to #Include the library. The program does not need to manually generate a lot of code that glues the application together. This makes the code generation much cleaner and easier for the user to follow.

The best part of the newer approach is that the user can see exactly how the code works. They will see the code that is used to create the form and all of the controls and also all of the events. It also gives the user flexibility to split the code up as much as they want. You could have all of the form code in one disk file or split the form generation code from the user entered code (stuff like code for the various events).

I personally don't think that the shift from the Firefly approach to the new approach will be hard for anyone. If anything, it will hide a little more of the winapi complexities from the user allowing you to code a little faster. Of course, once we try the new approach for a bit we'll soon see if it has merit or if we'll need to revert or change to something else.  :)

Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor