PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Thanks for the answer, I was adding the required 'SetGadgetState' commands by hand, but having them infused is neater, and easier - I don't have to remember to do them now.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Just found a problem.

I've tried copying several gadgets as a group, however when adding one to the group which was disabled, I get an error - 'All gadgets in selection must have same parent'

If I re-enable the gadget and copy it, it works fine.

Is it possible to also copy any disabled gadgets with the group. (I have several, which i want to include in a group, and don't particularly wish to disable all of them, copy & paste, the disable them all again)

(the ones I'm copying are all in a panel gadget - if that matters)

Any thoughts?

Perkin
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Could you change one small thing.

When copying a group of gadgets (save to [Temp group]), to paste them you have to 'Copy gadget group -> [Temp group], surely it would make more sense to change this entry to 'Paste gadget group', to be more in line with standard cut-copy-paste terms.

It took me quite a while to find out how to 'paste a group' because of this.

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:Could you change one small thing.
When copying a group of gadgets (save to [Temp group]), to paste them you have to 'Copy gadget group -> [Temp group], surely it would make more sense to change this entry to 'Paste gadget group', to be more in line with standard cut-copy-paste terms.
I chose 'copy' because there is also 'move'. But I admit it might be confusing.
Perkin wrote:Is it possible to also copy any disabled gadgets with the group. (I have several, which i want to include in a group, and don't particularly wish to disable all of them, copy & paste, the disable them all again)
The purpose of disabling gadgets is that you can't do anything with them. Note that the gadgets are only disabled while building the form. The disabled state is not translated in the code generation (same for 'Hide').
Btw, how did you manage to add a disabled gadget to a group ? This should not be possible.
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 »

Perkin wrote:
Is it possible to also copy any disabled gadgets with the group. (I have several, which i want to include in a group, and don't particularly wish to disable all of them, copy & paste, the disable them all again)
gnozal wrote:
The purpose of disabling gadgets is that you can't do anything with them. Note that the gadgets are only disabled while building the form. The disabled state is not translated in the code generation (same for 'Hide').
Btw, how did you manage to add a disabled gadget to a group ? This should not be possible.
Oh, :oops: I thought they would be disabled in the 'run' stage as well.
Thanks for clearing that up.

I haven't been able to add any other disabled gadgets to a group, so maybe the I was wrong, and the first time it wasn't disabled.

<edit>spelling</edit>
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Hi, me again.

Just noticed, missing '#PB_Button_Toggle' flag for the ButtonImageGadget

Apologies if it's been mentioned before.
%101010 = $2A = 42
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 #PB_Button_Toggle flag for ButtonImageGadget
(This flag is only valid since PB version 4.20 ; it is replaced with SetWindowLong_() in the generated code if PB compiler version < 4.20)
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. :D
%101010 = $2A = 42
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 #SS_CENTERIMAGE flag for TextGadget
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 330)

Changes :
- you can now add a toolbar to a ContainerGadget (use gadget context menu).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

PureFORM bug with inverted mouse buttons

Post by somic »

Hi Nick,
congratulations and thank you for the PureFORM tool.

I'm just starting to use it and I've noticed that it is not possible to add gadgets if the mouse has inverted buttons (I'm left mouse handed).

Am I doing something wrong?
The Alternate Button (mine is the left one) works properly, showing the PopUp Menu, while the Main Button (mine is the right one) doesn't allow to draw the gadget on the form.

I've seen that with the standard mouse button configuration everithing works fine.

Can you kindly make a check?

Many thanks in advance,

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

Post by gnozal »

Update (build 332)

Changes :
- Fixed issue with inverted mouse buttons
- Code Infusion now supports ContainerGadget toolbar events
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:

Re: PureFORM bug with inverted mouse buttons

Post by gnozal »

somic wrote:I'm just starting to use it and I've noticed that it is not possible to add gadgets if the mouse has inverted buttons (I'm left mouse handed).
Should be fixed in new release.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Cruster
User
User
Posts: 96
Joined: Fri Jan 23, 2004 12:05 am

Post by Cruster »

gnozal wrote:Update (build 332)

Changes :
- Fixed issue with inverted mouse buttons
- Code Infusion now supports ContainerGadget toolbar events
Gnozal, this is such a useful tool :D many thanks for writing it and also keeping it so up to date.
somic
User
User
Posts: 66
Joined: Sun Jun 29, 2008 9:11 am
Location: Italy
Contact:

Re: PureFORM bug with inverted mouse buttons

Post by somic »

Should be fixed in new release
Can you tell us when (approx.)?

Thanks again,
Carlo
Post Reply