Page 68 of 103
Re: PureFORM bug with inverted mouse buttons
Posted: Wed Jul 30, 2008 7:17 am
by gnozal
somic wrote:Should be fixed in new release
Can you tell us when (approx.)?
Now !
See
http://www.purebasic.fr/english/viewtop ... start=1000
Re: PureFORM bug with inverted mouse buttons
Posted: Wed Jul 30, 2008 7:55 am
by Fangbeast
Now !
LOL! Gnozal, the human coding machine

Re: PureFORM bug with inverted mouse buttons
Posted: Fri Aug 01, 2008 9:44 am
by somic
Many thanks,
I will test asap.
Carlo
Posted: Wed Aug 06, 2008 4:38 pm
by gnozal
Update (build 336)
Changes :
- fixed a code infusion explorer issue
- projects should load faster
Posted: Wed Aug 06, 2008 7:12 pm
by Molchyn
Hi
gnozal
ImageButton have a 2nd Image for pressed-state
#PB_Button_PressedImage: Set the image displayed when the button is pressed.
Can you implement it?
example here
http://www.purebasic.fr/english/viewtop ... 579#245579
BR
Posted: Thu Aug 07, 2008 8:01 am
by gnozal
Update (build 338)
Changes :
- ButtonImageGadget : added support for 2nd image (pressed state image [PB4.20+ only]).
Note : the 2nd image is supported in the generated code but is not shown in the form. Use 'Compile/Run' for preview.
Posted: Fri Aug 08, 2008 2:44 pm
by Bisonte
Hi. This tool is very good. But If I download a "new" update , i install it, and if i start the tool, there's a new Update

very great, but... can u make an automatic Update possible ?
__________
sorry about my english

Posted: Fri Aug 08, 2008 3:17 pm
by gnozal
Bisonte wrote:Hi. This tool is very good. But If I download a "new" update , i install it, and if i start the tool, there's a new Update

very great, but... can u make an automatic Update possible ?
At the moment, automatic downloads are only available through my
tools updater.
But maybe one day ...
Posted: Sat Aug 09, 2008 1:58 pm
by Bisonte
Ah ok i've forgotten your lib updater
But its a tool not a lib

Ok thanks for info
Posted: Tue Aug 19, 2008 10:03 am
by ozzie
I'm trying to get my first form designed using PureFORM and I'm getting a compliation error. The form is quite simple with two image gadgets and a few text gadgets - it's just a splash screen for my application.
In PureFORM's Code View I click on 'Complete Code' and then click on 'Copy to Clipboard'. I then switch to jaPBe and open a new tab and paste the code. When I click the Compile icon in jaPBe, a new tab is opened for CustomButton.pbi and the complier throws an error on line 70 with a message about structure already declared: TrackMouseEvent.
What am I doing wrong?
Mike
Posted: Tue Aug 19, 2008 10:58 am
by gnozal
ozzie wrote:... When I click the Compile icon in jaPBe, a new tab is opened for CustomButton.pbi and the complier throws an error on line 70 with a message about structure already declared: TrackMouseEvent.
This is not a PureFORM issue. The TrackMouseEvent structure is not used in the PureFORM generated code.
It's a general PB issue : you can't declare the same structure twice.
Did you enable this include in jaPBe by mistake ? If you are not using this include, uncheck it in jaPBe in project options and preferences (include tab).
Note that some of the jaPBe includes were not translated to PB4.xx.
Generally speaking, when you get a message about a structure already declared, simply comment the structure out, like this :
before
CustomButton.pbi wrote:Structure TrackMouseEvent
cbSize.l
dwFlags.l
hwndTrack.l
dwHoverTime.l
EndStructure
after
CustomButton.pbi wrote:;Structure TrackMouseEvent
; cbSize.l
; dwFlags.l
; hwndTrack.l
; dwHoverTime.l
;EndStructure
Posted: Tue Aug 19, 2008 11:10 am
by ts-soft
The best is to use compilerdirectives:
Code: Select all
CompilerIf Defined(TrackMouseEvent, #PB_Structure) = #False
Structure TrackMouseEvent
cbSize.l
dwFlags.l
hwndTrack.l
dwHoverTime.l
EndStructure
CompilerEndIf
greetings
Thomas
Posted: Tue Aug 19, 2008 11:16 am
by gnozal
ts-soft wrote:The best is to use compilerdirectives
I agree, if ozzie is using PB 4.xx (PureFORM generates code for PB3.9x and PB4.xx).
NB : I will translate the include to PB4.xx for the next jaPBe release.
Posted: Tue Aug 19, 2008 11:24 am
by ozzie
I'm using PB 4.20 and, yes, I did have 'Custom Buttons' selected in the jaPBe Include list. I've de-selected that now and get past that point but have some other issues. But I'll see if I can sort them out before asking for help!
Thanks,
Mike
Posted: Thu Aug 21, 2008 11:36 am
by ozzie
Another PureFORM problem that I can't find the answer to: I have a Window with several gadgets, and have changed the Enum properties of the gadgets to constants that carry some meaning in the program. That's fine until I add another Window to the project. When I add another Window the Enum properties of all the existing gadgets are re-generated to the constants set according to the 'gadget enumeration' preference.
How can I lock in my own Enum property for each gadget, which will persist even when another Window is added to the project?
Mike