PureFORM 1.99 (yet another FORM designer)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal i have found more probs.

In the screenshot you can see that i have add a Frame3D Gadget to a item of a Panelgadget. Now after i have do this i save the project and close PureFORM.

Image

If i open the project again the Frame3D Gadget is not longer in the item of the Panelgadget. You can see this im my project. DOWNLOAD

And i think the wayx to add a Gadget to an item of a Panelgadget is very crasy.
I good way is to go into the Gadget Propertys of the Panelgadget in select the tab "Items". Here you have all items of the Panelgadget and i think here is a right mouse click of the item with a menu a good idea to add gadgets to a item.

regards,
Nico
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:
nicolaus wrote:i have found a prob in PureFORM.
In my project i have add a Frame3D Gadget and pureFORM givse this gadget automaticly the Enum: "#Frame3D_-372" but this is not good. The -372 is for PB a prob and you cant compile codes with a Enum like this!
Sounds like a bug. Could you post a way to reproduce it ? Did it happen just after loading an existing form ?

[EDIT]I have added an extra check in build 183, but I don't know if it will work as I can't reproduce the problem ...
reproduce is easy.... in the last post from me you can download my project.
Open it an go to the gadgetlist in PureFORM. Make a right mouse click of a item from the PanelGadget and in the Menu select Add Gadget. Now add a Frame3D Gadget to it and you see das the Enum Name is #Frame3D_-370 or a diferent nummber.
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

and one more prob / bug

if i have a open project in PureFORM it looks like this:
Image

After Save and close the project and reopen it, it looks like this:
Image

You can see that the position of the build window is not saved and it is all times after loading the project on the left side from my screen!

regards,
nico
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

2Nicolaus

1. Gadget Enum Problem

Now I understand ...

You are adding gadgets using the right-click menu on the gadget list (it was not designed to work this way and I will deactivate 'Add gadget' in the Gadget/Window list context menus).

To add a gadget, simply draw it on the form. You can use the context menu on the tab or the gadget bar to choose the gadget class.

2. Position of the build window not saved

It is saved but if your window has the #PB_Window_ScreenCentered or #PB_Window_WindowCentered flag, it will be centered. Try without these flags ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- fixed gadget number bug introduced a few builds before
- fixed 'add gadget' menu item in gadget/window list context menu
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

version history

Post by michel »

Hello Gnozal,

What do you think about adding a version history in the PureForm helpfile?
The forum has meanwhile become so large that it is difficult to follow the evolution of your fantastic software.

michel
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: version history

Post by gnozal »

michel wrote:What do you think about adding a version history in the PureForm helpfile?
Not much, I would have to recompile the help file for each build ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

history file

Post by michel »

Hello Gnozal,

OK that's clear, but even a simple textfile would be sufficient

michel
Micko
Enthusiast
Enthusiast
Posts: 244
Joined: Thu May 24, 2007 7:36 pm
Location: Senegal
Contact:

PureForm error

Post by Micko »

hello
i'm new on this forum and I find it very nice. I love purebasic. :D
sorry for my english :(

Cruster wrote:
Hello Gnozal, thanks for PureForm it makes it so much easier to design forms! I'm getting this error message when I try to compile (F6) -
"could not start compiled form D:\Program Files\Purebasic\PureFORM_codeGeneration.exe"
I got it working. (Just in case anyone else has the same problem) I deleted PureFORM.ini and got a message saying that it couldn't load preferences. After that everything was fine.
I used this method but it's work the first time only after I have the same error message.
Pleaz Help.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureForm error

Post by gnozal »

Micko wrote:hello
i'm new on this forum and I find it very nice. I love purebasic. :D
sorry for my english :(
Welcome !
Micko wrote:Cruster wrote:
Hello Gnozal, thanks for PureForm it makes it so much easier to design forms! I'm getting this error message when I try to compile (F6) -
"could not start compiled form D:\Program Files\Purebasic\PureFORM_codeGeneration.exe"
I got it working. (Just in case anyone else has the same problem) I deleted PureFORM.ini and got a message saying that it couldn't load preferences. After that everything was fine.
I used this method but it's work the first time only after I have the same error message.
Pleaz Help.
I am very sorry, I cannot reproduce this problem.
What is your PB version ?
What is your OS version ?
What is your PB install directory ?
What is your compiler path in preferences code tab ?
Please try the new version and see if it helps (it may anyway give a more informative error message).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- added shorcut [CTRL + U] for 'Update code in source'
- added 'Merge project' in main menu : you can now merge an existing project to the current project.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

hi gnozal

thanks for update!

But one of the probs i have post is momently not fixed from you.
gnozal i have found more probs.

In the screenshot you can see that i have add a Frame3D Gadget to a item of a Panelgadget. Now after i have do this i save the project and close PureFORM.

Image

If i open the project again the Frame3D Gadget is not longer in the item of the Panelgadget. You can see this im my project. DOWNLOAD

And i think the wayx to add a Gadget to an item of a Panelgadget is very crasy.
I good way is to go into the Gadget Propertys of the Panelgadget in select the tab "Items". Here you have all items of the Panelgadget and i think here is a right mouse click of the item with a menu a good idea to add gadgets to a item.

regards,
Nico
This probs is in "1.80 build 190" also.

regrads,
nico
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:hi gnozal
thanks for update!
But one of the probs i have post is momently not fixed from you.
No problem here.
- Did you try with a new form (works here : new form, add panelgadget, add frame3d, save, quit, load : all ok) ?
- PureFORM can't fix broken forms ... But I did it manually :

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶admin_conf_form
;Window¶1¶#Window_0¶348651522¶#PB_Window_SystemMenu|#PB_Window_TitleBar|#PB_Window_WindowCentered¶Window_0¶699¶319¶522¶357¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;PanelGadget¶0¶#admi_pan¶1¶-1¶-1¶3¶0¶19¶0¶0¶¶¶¶-1¶0¶¶¶0¶0¶1¶1¶4¶0¶0¶520¶355¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Default·User·Programm¶0¶¶0¶0
;Frame3DGadget¶1¶#f3d_admpan_conf¶1¶0¶19¶1¶0¶11¶0¶0¶¶Adminconfig¶¶-1¶0¶¶¶0¶0¶0¶0¶0¶2¶1¶511¶328¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
Try to load the fixed form.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Hi gnozal and thanks for the example.
Now im a little bit confused.... your example works fine here but if i do this with my project it works only the first time.
If i save the project and reload it in PureFORM, the Fram3DGadget is not longer in the right item of the panel.

Please can you write the way where you add a Fram3DGadget to a item of a PanelGadget?

Thanks an regards,
Nico
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

The next question:

1. how i can move a gadget wat is insite a item of a PanelGadget to another item? Only Cut and Past?

A got way is that you add in the Gadget list arrows. after select a gadget in the list the user can set with the arrows the new position of a gadget ;-)

2. Is it normal that, if i cut a Gadget wat is inside a item of a Panelgadget and past it into another item, the name from the cut and past gadget is changed?

to reproduce this, please load this project in PureFORM and cut the Frame3DGadget and past it to one of the another items. You see that the text of the Gadget is changed.

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶PureFORM_Clipboard2
;Window¶1¶#wnd_conf¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶Options¶467¶94¶550¶315¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;PanelGadget¶1¶#pan_admin_conf¶1¶-1¶-1¶3¶0¶19¶0¶0¶¶¶¶-1¶0¶¶¶0¶0¶1¶1¶4¶0¶0¶550¶315¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Default·User·Programm¶0¶¶0¶0
;Frame3DGadget¶2¶#f3d_mysql_serverconf¶1¶1¶19¶1¶1¶11¶0¶0¶¶MySQL-Server Config¶¶-1¶0¶¶¶0¶0¶0¶0¶0¶0¶2¶545¶120¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
I hope it is ok for you that i post and ask so many about PureFORM.

regards,
Nico
Post Reply