FireFly Visual Designer for FreeBASIC (Updated March 8, 2016)

User projects written in or related to FreeBASIC.
Post Reply
PaulSquires
Posts: 1012
Joined: Jul 14, 2005 23:41

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by PaulSquires »

ffhex wrote:Hello Paul,
many thanks for the replay and the good tips.
The last (alternatively) way is good and I want it even try later.
To go another way I found this , but I dont understand, how to implement it in Firefly.

First, it would completely satisfy me, to edit only the first item with LVS_EDITLABELS.
Here I found this and I tried it out in the invoices-example.
But some things wrong :-(
(when I edit the item-text: the new input is not accepted)
Please can you have a look of the code to resolve this problem?
That would be very nice!
Many thanks!
FFhex.
Hi FFhex,

If all you want to do is accept the newly entered text, then all you would need to do is return TRUE from the function?

Code: Select all

'--------------------------------------------------------------------------------
Function FRMMAIN_LVWINVOICES_LVN_ENDLABELEDIT ( _
                                              ControlIndex  As Integer,          _  ' index in Control Array
                                              hWndForm      As hWnd,             _  ' handle of Form
                                              hWndControl   As hWnd,             _  ' handle of Control
                                              ByVal lpDI    As NMLVDISPINFO Ptr  _  ' pointer to NMLVDISPINFO
                                              ) As Integer

   Function = True
   
End Function
PaulSquires
Posts: 1012
Joined: Jul 14, 2005 23:41

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by PaulSquires »

konaexpress wrote:Hi, new guy here.

All I need is a thumbs up or down. Is Firefly still supported? It looks like a really cool GUI builder.........

Thanks -John
Yes, still supported. The only real problem with the designer at this point is that it is not high DPI aware. Therefore, if you run the designer at dpi settings other than 96 dpi than things may not work as you would think. For example, when dragging a drawing rectangle on a form in the designer, the rectangle itself will not appear in the position where your mouse is moving. Likewise, generated code will not scale to the proper dpi levels which could cause artifacting, etc. My commercial FireFly product for a different BASIC language now has all of this. Eventually I hope to port all that code over to the FB version as well.
konaexpress
Posts: 6
Joined: Apr 11, 2012 17:40

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by konaexpress »

Thanks for the 411! I will have to take a look at it, nice site by-the-way. As a newbie to programming, I need all the help I can get.

-John
ffhex
Posts: 12
Joined: Feb 21, 2012 19:27
Location: Jena, Germany

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by ffhex »

If all you want to do is accept the newly entered text, then all you would need to do is return TRUE from the function?
Hello Paul,
that's easy! Now I can edit the first Item of every line in the Listview.
Many thanks & best wishes!
FFhex.
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

FireFly Extensions

Post by marpon »

Thanks a lot to Paul Squires for his fantastic Firefly RAD Tool .
And also for his permission to share my personal contributions ...

Compile to Exe or Dll;
Compile with or without console;
and more options and menus...

Here is what I have done to expand the possibilities to the Firefly FreeBasic +

Several modifications directly on the firefly.exe file using reshacker and hex editor
to modify and add menus items
to make 1correction ($crlf from PowerBasic syntax) in the messagebox tool
to modify the included template code to allow dll creation and ztrace possibility ...
I renamed the file : FireFlyMP.exe (MP > More Possibilities)

I've also created 5 extra files :
to hook the firefly exe menu : FB_FF3MP.Dll
to realize all the extended compilation options : FF3_CompFBMP.EXE
to give a "trace window" to help debugging : zTraceFB.dll
a Chm+ file for the extra features : FireFly+.chm
and Finally a launcher to organize everything : FireFly3_FB.exe

the link for FireFly_FB_MP
http://www.freebasic-portal.de/download ... p-260.html

All works fine, and I always use it for my own tools, plus the Editor companion you can use with : CSED_FB

Here the link for : CSED_FB
http://www.freebasic-portal.de/download ... c-259.html
Jonge
Posts: 130
Joined: Jul 17, 2012 17:51
Location: Norway
Contact:

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by Jonge »

Great editor! I usually work on game stuff, but I will probably use this for all my tool stuff. Somehow I missed this project.

I would pay for a FB copy of FireFly if it was actively developed. *Hint hint Paul* =)
YogiYang
Posts: 18
Joined: Nov 18, 2011 10:37

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by YogiYang »

I am still hoping that Paul will add support for SQLite stand alone and client server (based on his SQLite Server) to FireFly FB soon but it has been quite long without any new development in the IDE. It seems he has lost his interest in FB.
PaulSquires
Posts: 1012
Joined: Jul 14, 2005 23:41

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by PaulSquires »

I have renewed my interest in FireFly for FreeBasic. You guys should see a new version very soon. I am working on the high dpi aware stuff now. I will post a download link when it is ready. :-)
Kot
Posts: 336
Joined: Dec 28, 2006 10:34

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by Kot »

Great, great and 33xGreat!
Jonge
Posts: 130
Joined: Jul 17, 2012 17:51
Location: Norway
Contact:

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by Jonge »

Great! Just want I wanted to hear =)

A few bugs I have come a cross:
- Declaring a SUB/FUNCTION inside a TYPE block, breaks the FireFly compilation
- It should be possible to code "Fold" a Property function
- The auto complete for variable types sometimes prints "random" characters, It seems to happen when some of the code is "folded".
- FireFly exe's seem to overwrite the "heep" in some way when exiting. Test it with a Debugger to see the error message.

Just want to say that I really enjoy working with FireFly =) Though it would be nice with some more features, like auto complete for UDT and Enum's(like FBedit does)

Edit:
I also miss the option to add cursor files to the Image Library(I found a work around by making my own .rc file and adding it to the project though)
PaulSquires
Posts: 1012
Joined: Jul 14, 2005 23:41

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by PaulSquires »

Hi guys,

I spent most of this weekend reworking the FireFly for FB code base to integrate it directly into my commercial designer (for PowerBasic). That allows me to have just one visual designer that I can compile to generate either FB code or PB code. Obviously, the PB version of the designer has a lot more features than the FB one (like ActiveX, custom controls, etc) but the FB version is still extremely usable.

The big effort was to convert the FB code generation to handle High DPI aware monitors. If you have ever used FireFly FB at a DPI setting other than 96 dpi then you know what the problem was. ;-)

A FB user is currently testing the new changes. Once he reports back then I'll be in a better position give this new version a wider release for you guys to tear apart and send me bug reports.

Jonge - I added code to (hopefully) fix that problem of Declaring Sub/Functions within a TYPE block.

At this time I won't be adding any new features until the current code base is stable. This was a lot of code change at one time and adding more to it at this time would probably kill the whole thing.
Jonge
Posts: 130
Joined: Jul 17, 2012 17:51
Location: Norway
Contact:

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by Jonge »

Sounds good, if you need more testers, let me know =)
PaulSquires
Posts: 1012
Joined: Jul 14, 2005 23:41

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by PaulSquires »

Thanks Jonge, send me an email so I can give you a download link: support@planetsquires.com
Jonge
Posts: 130
Joined: Jul 17, 2012 17:51
Location: Norway
Contact:

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by Jonge »

You can use this address: jiv[a]codeheim.net
YogiYang
Posts: 18
Joined: Nov 18, 2011 10:37

Re: FireFly Visual Designer for FreeBASIC (Updated Oct 22, 2

Post by YogiYang »

@Paul,

What new features are you planning to add to FireFly FB?

Please list them so we know what is coming up... :)

Thanks,

Yogi Yang
Post Reply