PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

A minor bug, may as well report it while I see it. Clicking on the close box in the title bar for the Gadget Group window does nothing (but close button of course works as expected).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

mskuma wrote:A minor bug, may as well report it while I see it. Clicking on the close box in the title bar for the Gadget Group window does nothing (but close button of course works as expected).
Yes, it's by design. This button is now disabled.
mskuma wrote:I'm not sure if I've done this right.. I created 2 buttons, and put both of them into a group. If I press Ctrl+LeftClick, this will drag around the group, but both buttons will only be dragged around as a group if I perform the drag on the 2nd button I created (or maybe it was the 2nd button added to the group). If I perform the drag on the first button, the group is not dragged (only the 1st button is moved).
The Ctrl+LeftClick thing is for direct use, not within the gadget group dialog.
Example :
- create a new form
- create button 1
- create button 2 (button 2 is selected)
- ctrl+leftclick on button 1 (now the 2 buttons are selected)
- capture button 1 (or 2) for move, i.e. left button down until you get the #IDC_SIZEALL cursor style and a red frame.
- move button (both buttons move)
- release button
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 :
- Changed : 'Translate from source' ; non integer items are tolerated for window X and Y
- Added : you can select existing gadget groups to move via window context menu
- Added : the last created gadget group via Ctrl+LeftClick is saved as '[Temp group]' gadget group.
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 »

@gnozal

can you add options for nthe splittergadget so that we can set the min of the first and second gadget (in PB it is this #PB_Splitter_FirstMinimumSize with function SetGadgetAttribute() )?

Thanks,
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:can you add options for nthe splittergadget so that we can set the min of the first and second gadget ?
Currently no, because I would have to :
- add new members to gadget properties structured linked list
- change gadget properties window
- change the pbf format (add parameters)
- and some more
or maybe I could use the color members, they are useless for a splitter (nothing to color).
So maybe later.
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 »

And one more time i have ideas.

It would be very nice if you add a WindowList.
Momently we have only a GadgetList but no WindowList and so i can´t delet a window from the project.

At the next image you can see that if i set the "SizeGadget" for a Window, it happens nothing. First i must safe and close the project and restart it that i can see and change the size of the window.

Image

regards,
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:It would be very nice if you add a WindowList.
Momently we have only a GadgetList but no WindowList
Will see
nicolaus wrote:and so i can´t delet a window from the project.
You can delete a project window :
- with the window close button [x] (or system menu item 'Close')
- with the 'Project' menu item 'Close window' (closes the current project window)
nicolaus wrote: At the next image you can see that if i set the "SizeGadget" for a Window, it happens nothing. First i must safe and close the project and restart it that i can see and change the size of the window.
I will delete/recreate the status bar : should be fixed (download updated).
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 : new option (see preferences) ; if enabled, gadgets are snaped to the grid while moving them.
- added : window list ; you can optionally only show the active project window (all other project forms are hidden).
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 :
- some fixes
- added : more SplitterGadget properties ; you can now set #PB_Splitter_FirstMinimumSize and #PB_Splitter_SecondMinimumSize in gadget properties
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

gnozal wrote:if enabled, gadgets are snaped to the grid while moving them.
Since I asked for this, I say a sincere thanks. But when I tried it, I found it was like I was really fighting the program to let me position it properly, i.e. the drag & snap action was not smooth at all. Maybe it's my system (XP Pro), however if it's not, if you'd like another possible coding reference for implementation, maybe have a look at netmaestro's snap code here.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

mskuma wrote:But when I tried it, I found it was like I was really fighting the program to let me position it properly, i.e. the drag & snap action was not smooth at all. Maybe it's my system (XP Pro),
Works quite well for me on my old NT4/98SE systems (but I don't really use it).
Each time you move the mouse, the gadget is snaped to the grid. How should it be done ?
mskuma wrote: however if it's not, if you'd like another possible coding reference for implementation, maybe have a look at netmaestro's snap code here.
No code here.
Not usable for me I think, it seems it is a lib for games, in full screen mode ?

EDIT
I have changed the 'snaping' delay in beta 43, there should be less fighting against the mouse.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

gnozal wrote:No code here.
Whoops - very sorry about that.
I have changed the 'snaping' delay in beta 43, there should be less fighting against the mouse.
Thanks - it's better, maybe it could be a touch more smooth, but I think it works ok now.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- beta 43 : smoother snap to grid while dragging gadgets
- beta 44 : fixed crash if 'Show only selected window' is checked while no project window exists
- beta 45 : fixed window context menu not working if multi-window project and 'Show only selected window' is enabled
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

some splittergadget bug..
1 If you create new splittergadget and after what change name on second gadget - string with creating splitter in code window don't change second name and you can't Compile/Run project because of error - can't find previous name gadget.
2 Sometimes creating splittergadget - freeze choosing gadgets in gadget list window
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Molchyn wrote:1 If you create new splittergadget and after what change name on second gadget - string with creating splitter in code window don't change second name and you can't Compile/Run project because of error - can't find previous name gadget.
Thanks, nice one. Should be fixed in beta 46. Just download again.
Molchyn wrote:2 Sometimes creating splittergadget - freeze choosing gadgets in gadget list window
Can't reproduce it, sorry.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply