Round Gage Control Library (GageRLM.lib) V1.0 for EBasic is being released
This library contains the following round gage controls:
1) 12 hour clock that is set to local PC time by default;
may be set to +/- 12 hours from local time.
2) 270 degree gage(like a speedometer) w/ single pointer
3) 360 degree single pointer w/ revolution counter
4) 360 degree 2 pointer w/ revolution counter
All controls may have a title on the upper portion of the dial face
All controls may be sized to suit the programmer.
2,3,4 have scale multiplier and units of measurement in lower portion of dial face.
Current library only works within a window and NOT a dialog.
The library may be downloaded at:
"link removed - see below"
Larry
Note: This was my first stab at creating a control and any feedback would be appreciated.
looks really great !
thanks for sharing Larry :)
That's really wild! I know you've put a lot of time into creating your own custom controls. Thanks a bunch.
I've got some more I want to create AND I need to see if I can figure out how to make them work in dialogs.
Thanks for the nice comments.
Larry
looks awesome!!!
Round Gage Control Library (GageRLM.lib) V2.0 is being released
V2.0 is not compatible with V1.0 (structure change so controls will now work in dialogs.)
Number of gage control types increased from 4 to 10
Latest version can be downloaded at:
http://www.ionicwind.com/forums/index.php/topic,2100.msg19402.html#msg19402
Instructions are in readme.txt.
Larry
Hi larry!
I'm using your nice Round gage library. I have a short question for you.
Is there any way to change min/max values once the control is created? Or, alternatively, how can I avoid displaying min/max values? Is that possible?
Thanks for the help.
Yours Carlo
Sorry, it's hard coded in. I'd have to add another variable to make that possible and add code to support that option.
If I do it it won't be anytime soon . I currently working on a graph/chart control.
Larry
Thanks Larry, that's not a problem. I am writing a program for logging data from a low-cost 24-bit ADC, and changing Ymin/Ymax during acquisition is an essential requirement. A multiple round gage control would have been a nice addition but it is not essential.
Thanks anyway Carlo
Carlo
I've put it on my todo list but have no idea when I'll get around to it.
Larry
Great work mr.Larry - looks fine :)
Just one thing .
Example GageRLM2 ex dialog work on first try.
Example GageRLM2 example dont work on first run.
I recive error message on line 681:
that GetSysColor is undeclered function ?( maby i do something wrong?)
I chenge this line.
setwindowcolor(main, GetSysColor(0))
with this and finaly work super.
setwindowcolor(main, rgb(200,200,220))
zlatko
GetSysColor()
is defined in the .inc file that I use.
You did the correct thing to make it work.
Larry