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:

Re: Program comment line

Post by gnozal »

michel wrote:Since a while I observe a numbering problem with the program comment line especially if a window has been deleted:
It's not a bug, the Procedure name (OpenWindow_Window_X) is generated from the window enumeration name (it could also be OpenWindow_Window_MyFirstWindow), the tag (;:PureFORM:Window_Y_1:Start:) is generated from the window internal number. So two different references, one the user can change (window enumeration name), the other the user cannot change (PurFORM internal data).
So this 'numbering problem' should not affect the code updating. Does it ?
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

Post by michel »

Hello Gnozal,

The code is not modified, that's clear. But nevertheless this difference in enumeration is confusing.

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

Post by gnozal »

michel wrote:But nevertheless this difference in enumeration is confusing.
It may be, but I can't use the window enumeration name in the tags, because it may be modified by the user. The only unique reference is the internal window number.
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 Templates ; you can now save a gadget group as template so you can use it in another project
- added default directories : you can now define default directories for projects and templates
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mueckerich
User
User
Posts: 22
Joined: Thu Dec 16, 2004 10:36 am
Location: Germany/Allgaeu

Post by mueckerich »

Sorry for the dumb question, :oops: try to find the answer but got no success.
How to configure PureForm as Plugin in JaPBe. As far i understand i can use JaPBe start from there Pureform as a Plugin, change my GUI and go back to JaPBe and have there the updated code. Is this correct and how to do it?

BTW, Gnozal i have to pay respect for your great work. Thanks for sharing all the Tools and Libs. :lol:
Believe means you don't know
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

mueckerich wrote:How to configure PureForm as Plugin in JaPBe.
Just copy PureFORM.exe to the %jaPBe%\Plugin directory.
You will find PureFORM in the 'Tools' menu (you can edit this entry).
mueckerich wrote:As far i understand i can use JaPBe start from there Pureform as a Plugin, change my GUI and go back to JaPBe and have there the updated code. Is this correct and how to do it?
1. Enable the code update feature
- In Preferences, check 'Add PureFORM tags to generated code'
. The first time, save the generated code with 'Save as code' in the main menu.
. The next time (after you changed the form) you can update the source with 'Update code in source' in the main menu.
2. Enable jaPBe reloading changed code
- In Preferences, check 'Reload code in jaPBe after PureFORM closes'
Then it should work like this :
3. Open 'MyCode.pb' in jaPBe
4. Start PureFORM as jaPBe plugin : it will show the project 'MyCode.pbf'
5. 'MyCode.pb' is reloaded (if project has changed and code has been updated) when you quit PureFORM
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

templates

Post by michel »

Hello Gnozal,

In build 170 I find nowhere an option where a gadget group can be saved as template.
:?:

Michel
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Post by yrreti »

Gnozal, I also have to pay great respect for your work, and for sharing all the fine Tools and Libs that you have made.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: templates

Post by gnozal »

michel wrote:In build 170 I find nowhere an option where a gadget group can be saved as template.
Use the context menu.
Note that you need to select a gadget group first.
Right-click on selected group, select 'Template -> Save group as template'
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 :
- you can now select a gadget group using the mouse by drawing a selection rectangle around the gadgets [use 'Mouse group selection' button on gadget bar or context-menu].
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
maw

Post by maw »

gnozal wrote:Changes :
- you can now select a gadget group using the mouse by drawing a selection rectangle around the gadgets [use 'Mouse group selection' button on gadget bar or context-menu].
Awesome!!! I really missed that feature before!!

You're the best!! Well, just after Fred ofcourse :lol:
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

mouse group selection

Post by michel »

Hello Gnozal,

Build 173 crashes as soon as I invoke "mouse group selection"

:?:

michel
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

mouse group selection

Post by michel »

Hello Gnozal,

New info: Build 174 crashed when I invoke "mouse group selection" within the context menu.

But it works perfectly when the command is inviked via the gadget bar :)

Excellent feature :D :D :D

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

Re: mouse group selection

Post by gnozal »

michel wrote:New info: Build 174 crashed when I invoke "mouse group selection" within the context menu.
Confirmed (only if there is no gadget bar).
Should be fixed in build 175.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Found a bug in Build 175:

1. Open Build 175
2. Create a ExplorerList
3. Create a ExplorerTree -> nothing happens
4. Click on Form [several times]

The Program crashes...
(Seems like a infinite loop)

EDIT: It's irrelevant which Control you create first, the ExplorerTree creation
always crashes. BTW I have Undo enabled.
Windows 7 & PureBasic 4.4
Post Reply