PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

Hello Gnozal,

some minor bugs concerning moving gadgets.

1)
Select a group of gadgets in a window (use group select or mouse with pressed ctrl key) and then try to move this gadget group via cursor keys.
-> only one gadget of the group will be moved.

2)
Select a gadget and move it via cursor keys (it works).
Now press F5 for prewiew mode - and again to switch back to edit mode. Your selected gadget is still highlighted, but try to move it now via cursor keys.
-> No movement is possible, you first have to click again on the highlighted gadget.

Kurzer (the slobbering easterfrog)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kurzer wrote:1)
Select a group of gadgets in a window (use group select or mouse with pressed ctrl key) and then try to move this gadget group via cursor keys.
-> only one gadget of the group will be moved.
It's not a bug, it's more a missing feature. In the manual, 'Using the keyboard' is only mentioned in the 'Move a single gadget' section. For a gadget group, you can use the mouse or the 'Gadget groups' dialog : save group to temp group, F9, 'Group action', use 'Move/Resize' spingadgets, 'End action' when done.
kurzer wrote:2)
Select a gadget and move it via cursor keys (it works).
Now press F5 for prewiew mode - and again to switch back to edit mode. Your selected gadget is still highlighted, but try to move it now via cursor keys. -> No movement is possible, you first have to click again on the highlighted gadget.
Works here (tested with several gadgets) ?!. Note that the gadget parent window must have the focus for the keyboard shortcut to be enabled.
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 »

Hurga wrote:I miss some combinations in the naming of the gadgets

WinName/Class/Text
WinText/Class/Text

could you add this possibility ?
You mean like WinEnum/Class/Nb/Text and WinText/Class/Nb/Text but without Nb (Gadget number) ?
Note that gadget number ensures that the enumeration is unique.
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 286)

Changes :
- fixed a bug in 'Project images' dialog
- added a window focus fix when switching from preview to build mode
- added 2 new gadget enumeration masks : WinEnum/Class/Text and WinText/Class/Text
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

gnozal wrote:It's not a bug, it's more a missing feature. In the manual, 'Using the keyboard' is only mentioned in the 'Move a single gadget' section. For a gadget group, you can use the mouse or the 'Gadget groups' dialog : save group to temp group, F9, 'Group action', use 'Move/Resize' spingadgets, 'End action' when done.
The manual? - uhh - now you caught me. ;-) Anyhow, thank you for fixing the F5 issue.
quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

menu builder problem bug

Post by quasiperfect »

if u add a lot of menu's (in the menu builder) when the space runs out on horizontal the menu builder window becomes a mess.
Registered user of PureBasic
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post by Hurga »

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

Re: menu builder problem bug

Post by gnozal »

quasiperfect wrote:if u add a lot of menu's (in the menu builder) when the space runs out on horizontal the menu builder window becomes a mess.
Should be fixed in build 287.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

Post by quasiperfect »

thanks a lot gnozal works like a charm :D
Registered user of PureBasic
LDSang
User
User
Posts: 13
Joined: Mon Feb 18, 2008 8:36 pm
Location: Atlanta, GA

Post by LDSang »

I hope this doesn't seem like a silly question, but I've been looking for a couple hours and I can't seem to figure out how to set the tab order! I found the tab order window referenced in the PureFORM help, but it doesn't tell how to bring the tab order window up! I figure the answer may be in the thread, but I couldn't figure out how to narrow down the 62 pages to the page that may have the answer. Can anyone help?

Also, is there any way to actually search this thread alone? Normally my searches bring up the entire thread, basically saying "Just go thru all 62 pages and the answer is in there somewhere".
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

LDSang wrote:I hope this doesn't seem like a silly question, but I've been looking for a couple hours and I can't seem to figure out how to set the tab order!
In PureFORM, a lot of functions are called via the right-click context menu.
Simply right-click on a gadget you wish to change the tab order. The tab order dialog will appear and display all gadgets with the same parent.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

Post by quasiperfect »

gnozal don't take this suggestion the wrong way.
pureform is great and at least for me is a indispensable tool.
would be hard to add a clone window option like the clone gadget thing but to clone a whole window with gadgets and everything in it ?

thanks a lot for this tool adn all the nice libs u made my life a lot more easier
Registered user of PureBasic
LDSang
User
User
Posts: 13
Joined: Mon Feb 18, 2008 8:36 pm
Location: Atlanta, GA

Post by LDSang »

gnozal wrote:In PureFORM, a lot of functions are called via the right-click context menu.
Simply right-click on a gadget you wish to change the tab order. The tab order dialog will appear and display all gadgets with the same parent.
Thanks! I was looking through the top menu, which is why I couldn't find it.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

quasiperfect wrote:would be hard to add a clone window option like the clone gadget thing but to clone a whole window with gadgets and everything in it ?
You can already clone a window using the merge project feature.
1. Design your window
2. Save the project (as 'CloneWindow.pbf' for example)
3. Use 'Merge project' in main menu, select 'CloneWindow.pbf', keep 'Adapt gadget enumeration' checked to avoid duplicate enumerations, press 'Ok'
4. You have cloned your window :wink:

You could also use a template :
1. Select all gadgets in the window
2. Save group as template (context menu)
3. Create new window
4. Load template to new window

Or the save / copy gadget group features.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

Post by quasiperfect »

the "clone a window using the merge project feature" dose exactly what i wanted because it takes also the menus and toolbars.

thanks again for u'r great work
Registered user of PureBasic
Post Reply