PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Yes, it's by design. This button is now disabled.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).
The Ctrl+LeftClick thing is for direct use, not within the gadget group dialog.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).
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).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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.
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).
@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
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
my live space
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Currently no, because I would have to :nicolaus wrote:can you add options for nthe splittergadget so that we can set the min of the first and second gadget ?
- 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).
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.

regards,
Nico
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.

regards,
Nico
my live space
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Will seenicolaus wrote:It would be very nice if you add a WindowList.
Momently we have only a GadgetList but no WindowList
You can delete a project window :nicolaus wrote:and so i can´t delet a window from the project.
- with the window close button [x] (or system menu item 'Close')
- with the 'Project' menu item 'Close window' (closes the current project window)
I will delete/recreate the status bar : should be fixed (download updated).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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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).
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).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
Changes :
- some fixes
- added : more SplitterGadget properties ; you can now set #PB_Splitter_FirstMinimumSize and #PB_Splitter_SecondMinimumSize in gadget properties
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).
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 wrote:if enabled, gadgets are snaped to the grid while moving them.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Works quite well for me on my old NT4/98SE systems (but I don't really use it).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),
Each time you move the mouse, the gadget is snaped to the grid. How should it be done ?
No code here.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.
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).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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
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).
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
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
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Thanks, nice one. Should be fixed in beta 46. Just download again.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.
Can't reproduce it, sorry.Molchyn wrote:2 Sometimes creating splittergadget - freeze choosing gadgets in gadget list window
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).