April 28, 2024, 08:37:55 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Round Gage Control Library for EBasic

Started by LarryMc, January 13, 2008, 08:20:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

January 13, 2008, 08:20:57 AM Last Edit: August 07, 2008, 05:12:10 PM by Larry McCaughn
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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

ExMember001

looks really great !
thanks for sharing Larry :)

mrainey

That's really wild!  I know you've put a lot of time into creating your own custom controls.  Thanks a bunch.
Software For Metalworking
http://closetolerancesoftware.com

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

John S

John Siino, Advanced Engineering Services and Software

LarryMc


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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

dossic

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

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

dossic

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

LarryMc

Carlo
I've put it on my todo list but have no idea when I'll get around to it.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

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))


LarryMc

zlatko
GetSysColor()
is defined in the .inc file that I use.

You did the correct thing to make it work.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library