PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-Pierre LEROY on April 02, 2005, 05:15:29 PM

Title: Yet others beginner's questions
Post by: Jean-Pierre LEROY on April 02, 2005, 05:15:29 PM
Hi,

I'm Jean-Pierre, still testing FireFly (for 2 weeks yet now !)
I have 3 more questions.

1. If I change the name of a control (or the name of a form), the code editor does not replace automatically the Old Name by the New Name ? is there a way to do that ? do you plan to add this in a new version ?

2. The "Project Name" in "Project Properties" can't contains spaces in the name of the project ? I can use "MyProject" but I can't use "My Project"; it would be useful to if we can use "Long Filename" for the Project Name; do you plan to add this in a new version ?

3. how can I do with FireFly theses two DDT controls :
CONTROL ADD LINE
CONTROL ADD GRAPHIC
Do I have to use custom control for LINE and GRAPHIC ? have-you any sample code ?

Thank you for your time and your help.
Jean-Pierre
Title: Re: Yet others beginner's questions
Post by: TechSupport on April 02, 2005, 06:40:56 PM
Quote from: Jean-Pierre LEROY1. If I change the name of a control (or the name of a form), the code editor does not replace automatically the Old Name by the New Name ? is there a way to do that ? do you plan to add this in a new version ?
Once the Name is set, it becomes hard for FireFly to automatically change the name in every occurance in the source code. It would be easy to change it for the Function declarations, but what if the user has entered hundreds of FireFly Functions that depend on the Window Handles and/or Control ID's ??? FireFly would have to search every line of code in the project and attempt to determine where the old name was used. This is not a trivial thing to do. The best approach that I can think of is Project wide search/replace - that is on the wish list. :)

Quote2. The "Project Name" in "Project Properties" can't contains spaces in the name of the project ? I can use "MyProject" but I can't use "My Project"; it would be useful to if we can use "Long Filename" for the Project Name; do you plan to add this in a new version ?
Unfortunately, this is a limitation because it affects many aspects of the internal FireFly code. I am afraid that I can not change this one. :(

Quote3. how can I do with FireFly theses two DDT controls :
CONTROL ADD LINE
CONTROL ADD GRAPHIC
Do I have to use custom control for LINE and GRAPHIC ? have-you any sample code ?
Line and other Shapes is on the wish list (very high on the wish list). I believe that the other way to simulate Lines in FireFly would be to use the Fram control with the top of the frame matching the bottom. You could also create the lines yourself and draw them in the WM_PAINT message but that would be much more difficult for inexperienced users.

I believe that Roger posted an example in the PB Forums about using the new PB8 Graphic control in FireFly. There are some issues. In general, using DDT commands in FireFly should be avoided. FireFly creates its base code using SDK. PB warns that you should not add DDT controls to SDK created windows (however, adding SDK controls to DDT created windows seems to work okay).
Title: Yet others beginner's questions
Post by: Jean-Pierre LEROY on April 03, 2005, 07:03:38 AM
It's pleased to get answers directly from the author of the software.

Thank you Paul.
Jean-Pierre
Title: Yet others beginner's questions
Post by: Haakon Birkeland on October 07, 2005, 01:49:50 AM
I have been drawing lines by creating a label with a width of 1 for vertical lines and a height of 1 for horizontal lines with a background of black.
Seems to work ok.

Bert
Title: Yet others beginner's questions
Post by: TechSupport on October 07, 2005, 09:55:56 AM
I have a new Line custom control that I will release with the next FireFly update.
Title: Yet others beginner's questions
Post by: Haakon Birkeland on October 07, 2005, 10:41:01 AM
You should consider minimal cost upgrade not update. It almost feels like we are taking advantage of you everytime you do something.

Bert Mercier
Title: Yet others beginner's questions
Post by: TechSupport on October 07, 2005, 12:56:05 PM
The next upgrade will be a small fee. Since FireFly is my only product these days, I will need to charge a little something in order to help cover some costs.

I am still working on the new feature list. It will be a while before the next big upgrade is finished. Lots to new things that I can do with FireFly and I need to target exactly what I will focus on.