Page 67 of 103
Posted: Mon Jul 07, 2008 6:00 pm
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.
Posted: Mon Jul 07, 2008 7:52 pm
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
Posted: Mon Jul 07, 2008 8:42 pm
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
Posted: Tue Jul 08, 2008 7:51 am
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.
Posted: Tue Jul 08, 2008 9:30 am
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,

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>
Posted: Wed Jul 16, 2008 11:24 pm
by Perkin
Hi, me again.
Just noticed, missing '#PB_Button_Toggle' flag for the ButtonImageGadget
Apologies if it's been mentioned before.
Posted: Thu Jul 17, 2008 7:41 am
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)
Posted: Thu Jul 17, 2008 2:05 pm
by Perkin
Thanks for this.

Posted: Wed Jul 23, 2008 9:00 am
by gnozal
Update
Changes :
- Added #SS_CENTERIMAGE flag for TextGadget
Posted: Thu Jul 24, 2008 4:38 pm
by gnozal
Update (build 330)
Changes :
- you can now add a toolbar to a ContainerGadget (use gadget context menu).
PureFORM bug with inverted mouse buttons
Posted: Sun Jul 27, 2008 5:00 pm
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
Posted: Mon Jul 28, 2008 11:31 am
by gnozal
Update (build 332)
Changes :
- Fixed issue with inverted mouse buttons
- Code Infusion now supports ContainerGadget toolbar events
Re: PureFORM bug with inverted mouse buttons
Posted: Mon Jul 28, 2008 11:32 am
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.
Posted: Mon Jul 28, 2008 11:49 am
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

many thanks for writing it and also keeping it so up to date.
Re: PureFORM bug with inverted mouse buttons
Posted: Tue Jul 29, 2008 5:55 pm
by somic
Should be fixed in new release
Can you tell us when (approx.)?
Thanks again,
Carlo