Re: PureBasic 5.00 final is out !
Posted: Mon Nov 19, 2012 7:13 am
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.
http://www.purebasic.com
https://www.purebasic.fr/english/
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.
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.
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
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
You'll be able to do that in next version.GeoTrail wrote:The possibility to run the code from the deisgner would be great
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
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