PureBasic 5.00 final is out !
Re: PureBasic 5.00 final is out !
Thanks guys. I really appreciate the hard work you all do to keep improving PB. Keep up the great work. I'll be sending in a donation for your efforts.
Windows 7 Ultimate x64 / PureBasic 5.21 LTS / ProGUI Platinum / PureVision / http://www.linkedin.com/groups/PureBasi ... =&trk=tyah
Re: PureBasic 5.00 final is out !
Awsome update, thanks so much Fred & team!
Havent done much coding in a while now, pretty much tired of doing stuff for other people for '0' appreciation of the time that goes into writing applications, let alone the money they don't pay for having it done for them. Just downloaded this version & run a few of my projects & find that compile time is now right back up to where it used to be before the MSE AV thing slowed everything down on me big time.
Thanks again...
Havent done much coding in a while now, pretty much tired of doing stuff for other people for '0' appreciation of the time that goes into writing applications, let alone the money they don't pay for having it done for them. Just downloaded this version & run a few of my projects & find that compile time is now right back up to where it used to be before the MSE AV thing slowed everything down on me big time.
Thanks again...

- electrochrisso
- Addict
- Posts: 989
- Joined: Mon May 14, 2007 2:13 am
- Location: Darling River
Re: PureBasic 5.00 final is out !
Sorry to reply to Baldrick here Fred, but I just had to ask about the MicroGateways, DoorLogix programming interface and Rainguage charting software, looks like they were programmed in PureBasic. 

PureBasic! Purely the best 

Re: PureBasic 5.00 final is out !
Answer to that is yes. Totally PB. The Doorlogix Controller it'self I did all in 'C'electrochrisso wrote:Sorry to reply to Baldrick here Fred, but I just had to ask about the MicroGateways, DoorLogix programming interface and Rainguage charting software, looks like they were programmed in PureBasic.
The Rainguage 1 was done a long time ago pre-win7 & pre-native Sqlite3 even.
Re: PureBasic 5.00 final is out !
I might be really dumb here, but I can't wrap my head around the new visual designer. I can't get it to generate code or action for objects. With the old one, I just clicked generate code, or something, and saved the .pb file which I could open in PB and edit.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic 5.00 final is out !
Save your form as a .pbf file then include it in your project.GeoTrail wrote:I might be really dumb here, but I can't wrap my head around the new visual designer. I can't get it to generate code or action for objects. With the old one, I just clicked generate code, or something, and saved the .pb file which I could open in PB and edit.
Re: PureBasic 5.00 final is out !
Yes I know that, but should the VD create events in the code? The old one did. Look at this example that I just made with the new designer:There's no event for the button.
Here I have written the event for the button manually:
Shouldn't the designer create the events automatically? Or am I missing something?
Code: Select all
Global Window_0
Global Button_0
Procedure InitWindow_0()
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
Button_0 = ButtonGadget(#PB_Any, 100, 60, 110, 50, "A button", #PB_Button_Left)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
Here I have written the event for the button manually:
Code: Select all
Global Window_0
Global Button_0
Procedure InitWindow_0()
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
Button_0 = ButtonGadget(#PB_Any, 100, 60, 110, 50, "A button", #PB_Button_Left)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Gadget
Select EventGadget()
Case Button_0
MessageRequester("Hello", "This is a button")
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
InitWindow_0()
Repeat
event = WaitWindowEvent()
Until Window_0_Events(event) = #False
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic 5.00 final is out !
The possibility to run the code from the deisgner would be great 

I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic 5.00 final is out !
You'll be able to do that in next version.GeoTrail wrote:The possibility to run the code from the deisgner would be great
For handling events you should look at the help topic I've made in the Form Designer section of this forum

Re: PureBasic 5.00 final is out !
Thanks, looking forward for future updates 
* Check help section = check
* Don't ask stupid questions = uhm, try to tone that down
hehehe

* Check help section = check

* Don't ask stupid questions = uhm, try to tone that down

I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic 5.00 final is out !
There's no such thing as stupid questions!GeoTrail wrote:Thanks, looking forward for future updates
* Check help section = check
* Don't ask stupid questions = uhm, try to tone that downhehehe

Re: PureBasic 5.00 final is out !
Yes there are. Just you wait hehe:lol:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic 5.00 final is out !
Is this a joke? SetModulePosition() in milliseconds and GetModulePosition() in patterns? How does it work together?SetModulePosition() is now in milliseconds, no more in pattern