PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

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

Post by gnozal »

Update (build 318)

Changes :
- this release should fix the cosmetic issue (posted by Flype) when dragging a gadget outside it's parent limits
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 (build 321)

Changes :
- F6/F7 : now PureFORM adds the PBCompiler path to %PATH% before compile/run a form to ensure the PB DLLs are in the path
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Hi,

If I enable the undo option and also have the file confirmation option, then I get a configrmation for every change to the form. It makes some things impossible.

For example, try to resize a gadget with these two options enabled.

I don't know if this is by design or not, but could you please remove the confirmation dialogs for saving the undo files?
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (build 322)

Changes :
- fixed Undo issue posted by Tinman
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

Hi, gnozal.

Thanks for this useful tool.
I'd like to report a bug though.

Everytime I try to MOVE a Frame3DGadget when this gadget is inside a ContainerGadget, PureFORM freezes and keeps consuming 46-50% of CPU and then I have to kill the process from the Task Manager.

[EDIT] After moving it I select the ContainerGadget and then it happens.
Proud registered Purebasic user.
Because programming should be fun.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (build 323)

Changes :
- fixed recursive event problem posted by byo
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

Fix confirmed. Thanks a lot. :D
Proud registered Purebasic user.
Because programming should be fun.
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Thank you for the fix gnozal.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

ParentWindowID

Post by helpy »

I have two windows in a PureFORM project (winMain and winStatus). There is the main window (winMain) and a Status window which is only opened if it is necessary.

Is it possible to have the winMain as ParentWindow of the winStatus window?

Is there an option, which I can use, that the OpenWindow() function for winStatus wil use the option ParentWindowID?

Code: Select all

Procedure OpenWindow_winStatus()
  winStatus = OpenWindow(#PB_Any, ............................... , winMain)
;...
cu, guido
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: ParentWindowID

Post by gnozal »

helpy wrote:Is it possible to have the winMain as ParentWindow of the winStatus window?
You can specify a main window [Main menu -> Project -> Set main window] : the current window becomes the main project window, i.e. all other windows will be it's child windows ['ParentWindowID' optional parameter will be used for OpenWindow() in the generated code].
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

Re: ParentWindowID

Post by helpy »

gnozal wrote:You can specify a main window [Main menu -> Project -> Set main window] : the current window becomes the main project window, i.e. all other windows will be it's child windows ['ParentWindowID' optional parameter will be used for OpenWindow() in the generated code].
cool !! Danke ... ähhh ... Thank you!

I was looking with full text search in the help file (F1) ... but the word "ParentWindowID" was not found, although it is in there!

Thank you for the help!

cu, guido
Windows 10 / Windows 7
PB Last Final / Last Beta Testing
xaby
User
User
Posts: 16
Joined: Tue May 15, 2007 12:41 pm
Location: Germany - Berlin

Post by xaby »

Thanks for new release.

If I use the "Panel-Gadget" all is looking nice.
It looks also beautyful if I make a check at the "[ ] Enable (PureCOLOR and/or PB4)

But, if I clear the check my "Panel-Gadget" will be white and also my "Gadget properties"

This problem I saw only with the "Panel-Gadget"
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

xaby wrote:...
But, if I clear the check my "Panel-Gadget" will be white and also my "Gadget properties"
It's a class issue.
As stated in the PureCOLOR help file, PureCOLOR uses SetClassLong() to color PanelGadgets, ContainerGadgets and PureScrollAreaGadgets.
This means that if you colorize one gadget, all gadgets within the same class will have the same colors.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Thanks for this great tool.

I've just read through all 66 pages of this thread, my eyes look like :shock: .

Is there anyway to set a checkbox gadget to ticked as default, also set which of a set of Option gadgets is set as default.

Or do I just have to edit the source and set them 'manually'

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

Post by gnozal »

Perkin wrote:Is there anyway to set a checkbox gadget to ticked as default, also set which of a set of Option gadgets is set as default.
No
Perkin wrote:Or do I just have to edit the source and set them 'manually'
Yes.
Note that you can use code infusion.
Right-click on window -> Code infusion -> Window Event -> Window creation -> Add some code like : SetGadgetState(#MyCheckBox, #True)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply