IonicWind Software

Announcements => User Offerings => Topic started by: LarryMc on January 13, 2008, 08:20:57 AM

Title: Round Gage Control Library for EBasic
Post by: LarryMc on January 13, 2008, 08:20:57 AM
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.
Title: Re: Round Gage Control Library
Post by: ExMember001 on January 13, 2008, 12:58:33 PM
looks really great !
thanks for sharing Larry :)
Title: Re: Round Gage Control Library
Post by: mrainey on January 13, 2008, 03:01:18 PM
That's really wild!  I know you've put a lot of time into creating your own custom controls.  Thanks a bunch.
Title: Re: Round Gage Control Library
Post by: LarryMc on January 13, 2008, 04:19:16 PM
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
Title: Re: Round Gage Control Library
Post by: John S on January 15, 2008, 11:15:28 AM
looks awesome!!!
Title: Re: Round Gage Control Library
Post by: LarryMc on January 22, 2008, 07:05:33 PM

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
Title: Re: Round Gage Control Library for EBasic
Post by: dossic on January 14, 2009, 07:55:43 AM
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
Title: Re: Round Gage Control Library for EBasic
Post by: LarryMc on January 14, 2009, 11:04:24 AM
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
Title: Re: Round Gage Control Library for EBasic
Post by: dossic on January 15, 2009, 02:20:25 AM
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
Title: Re: Round Gage Control Library for EBasic
Post by: LarryMc on January 15, 2009, 05:48:50 AM
Carlo
I've put it on my todo list but have no idea when I'll get around to it.

Larry
Title: Re: Round Gage Control Library for EBasic
Post by: aurelCB on January 16, 2009, 02:20:04 AM
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))

Title: Re: Round Gage Control Library for EBasic
Post by: LarryMc on January 16, 2009, 05:52:30 AM
zlatko
GetSysColor()
is defined in the .inc file that I use.

You did the correct thing to make it work.

Larry