Share your advanced PureBasic knowledge/code with the community.
davido
Addict
Posts: 1890 Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK
Post
by davido » Sat Aug 15, 2020 6:21 pm
@ l1marik ,
Very nice, thank you.
Looks good and appears to work fine on my MacBook.
DE AA EB
leonhardt
Enthusiast
Posts: 220 Joined: Wed Dec 23, 2009 3:26 pm
Post
by leonhardt » Sun Aug 16, 2020 2:42 am
thanks for the job!
poor English...
PureBasic & Delphi & VBA
BarryG
Addict
Posts: 4122 Joined: Thu Apr 18, 2019 8:17 am
Post
by BarryG » Sun Aug 16, 2020 11:32 am
Nice code!
VB6_to_PBx
Enthusiast
Posts: 627 Joined: Mon May 09, 2011 9:36 am
Post
by VB6_to_PBx » Tue Aug 18, 2020 4:40 am
Lukas ( l1marik ),
thanks a bunch for all the
Weather meters / gauges you've created !!!
if you are looking for more ideas
on creating Dials , Gauges , or Meters ??
what about these :
Speedometer
RPM
Oil pressure
Fuel pressure
Vacuum
Oil temperature
Water temperature
O2 Sensor ( Oxygen Sensor )
EGT ( Exhaust Gas Temperature )
Digital Numbers ( LED )
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
l1marik
User
Posts: 52 Joined: Tue Jun 30, 2020 6:22 am
Post
by l1marik » Tue Aug 18, 2020 7:08 pm
Dear VB6_to_PBx,
It is not problem, question is only a design of it. Can you propose any?
Picture will enough.
Lukas
VB6_to_PBx
Enthusiast
Posts: 627 Joined: Mon May 09, 2011 9:36 am
Post
by VB6_to_PBx » Wed Aug 19, 2020 6:47 pm
l1marik wrote: Dear VB6_to_PBx,
It is not problem, question is only a design of it. Can you propose any?
Picture will enough.
Lukas
hi Lukas , sorry for this late Reply ,
here's a Picture :
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Kwai chang caine
Always Here
Posts: 5494 Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France
Post
by Kwai chang caine » Fri Aug 21, 2020 6:21 pm
Works well here, very nice
Thanks for sharing
The happiness is a road...
Not a destination
Saki
Addict
Posts: 830 Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora
Post
by Saki » Sat Aug 22, 2020 1:52 am
There's so much
Try a 3D Pi Chart for example, many have failed to do so
地球上の平和
VB6_to_PBx
Enthusiast
Posts: 627 Joined: Mon May 09, 2011 9:36 am
Post
by VB6_to_PBx » Sat Aug 22, 2020 3:08 am
thank Saki for your Pic ,
i was about to post a few similar pics ,
but your 1 pic captured most of what multiple pics i was going to post .
on my Engine Dyno , i can change custom GUI Gauges looks + sizes
much better than the crummy generic Pic i posted above ,
i just haven't had time to go and create new Gauges ,
will do later .
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Naghual
New User
Posts: 2 Joined: Thu Dec 13, 2018 9:31 am
Post
by Naghual » Thu Apr 06, 2023 1:38 pm
l1marik wrote: Sat Aug 15, 2020 3:41 pm
Round Analog Gauge
Hello.
Nice work!
How to use it as a component on a Form Designer?
blueb
Addict
Posts: 1111 Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico
Post
by blueb » Thu Apr 06, 2023 2:24 pm
Create a CanvasGadget in your favorite FormDesigner and use an IncludeFile that contains the "Gauge_Analog_Round() procedure?
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Naghual
New User
Posts: 2 Joined: Thu Dec 13, 2018 9:31 am
Post
by Naghual » Thu Apr 06, 2023 2:43 pm
I'm just a beginner.
Please, guide me through it.
Code: Select all
Global Window_0
Global Gaget1
Declare Gaget1_Events(EventType)
Procedure OpenWindow_0(x = 0, y = 0, width = 480, height = 320)
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu)
Gaget1 = CanvasGadget(#PB_Any, 16, 16, 152, 152)
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
Case Gaget1
Gaget1_Events(EventType())
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure