Want to create a dash board with dials on it.

Want to create a dash board with dials on it.

Postby hag » Mon Jan 11, 2010 9:30 pm

I want to put in my app a screen with dials that will be 180 degree aand a pointer that will move base on the value of some variables.

Anybody with experience doing this. need some code and whatever info can be supplied.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby James Bott » Mon Jan 11, 2010 10:19 pm

Harvey,

The only native FW meter control I am aware of is the progress meter. I did a Google search and here is a round analog style ActiveX meter control. It costs just over $100.

http://www.cstsoft.com/english/list2.htm#meter

You would have to write an interface--best would be a FW class wrapper.

I'm sure if you search you will find others.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Want to create a dash board with dials on it.

Postby hag » Tue Jan 12, 2010 1:31 am

Now to show my ignorance...what is an
FW class wrapper.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby James Bott » Tue Jan 12, 2010 2:36 am

Harvey,

A class wrapper is just a class that encapsulates the ActiveX code so it appears just like a regular FW class. Then you can add an include file to give it xBase syntax so then you could do something like:

@ 10,10 meter oMeter range 0,100...

Then:

oMeter:set(45)

Etc.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Want to create a dash board with dials on it.

Postby Marcelo Via Giglio » Tue Jan 12, 2010 12:39 pm

Hello,

maybe this can be a help

http://www.terra.es/personal/ravendano/

regards

Marcelo
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Want to create a dash board with dials on it.

Postby Silvio » Tue Jan 12, 2010 12:48 pm

Someone made a Piemeter class many years ago......
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Want to create a dash board with dials on it.

Postby hag » Tue Jan 12, 2010 3:37 pm

Thanks Marcelo for the link. downloaded some things that look interesting...but no hablo espanol.

Uwe
The piemeter may be worth looking at. How wourld I get a copy?
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby ukoenig » Thu Jan 14, 2010 11:45 pm

Harvey,

I found a link to :

Image

http://www.devexpress.com/Products/NET/ ... /index.xml

maybe something, can be used with FWH ?

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Want to create a dash board with dials on it.

Postby hag » Thu Jan 14, 2010 11:50 pm

Uwe:

I check it out and let you know how it workd with FWH
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby James Bott » Fri Jan 15, 2010 12:09 am

No, dot NET products cannot be used with FW. You have to have ActiveX products.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Want to create a dash board with dials on it.

Postby hag » Fri Jan 15, 2010 12:22 am

saved me wasting time...Thanks James.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby Biel EA6DD » Fri Jan 15, 2010 8:56 am

As far I know the only native solution is use tSelector from Ramon Avedaño.
Image

Code: Select all  Expand view

REDEFINE SELECTOR oSelec1 VAR oDbf:Pixel OF oDlg ID 101 ;
            ORIGIN ANGLE 270 ;     // Degrees
            LAST ANGLE 90    ;  
            RANGE 100, 1     ;
            MARKS 10         ;
            COLORS CLR_CYAN  ;
            ON CHANGE oGetPixel:Refresh()


If not exactly what you wantt, I thing is a good starting point.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Re: Want to create a dash board with dials on it.

Postby hag » Sat Jan 16, 2010 8:03 pm

Biel thanks for the suggestion. Havn't had a chance to try it but I'll keep you posted on how it works.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Want to create a dash board with dials on it.

Postby Silvio » Sat Jan 16, 2010 8:21 pm

Do you trying with

oMeter := TPieMeter():New( nTotal, cSay, oWnd, @lEnd )

CLASS TPieMeter
....
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Want to create a dash board with dials on it.

Postby ukoenig » Sun Jan 17, 2010 1:20 am

Hello Harvey,

I still found another Distributor for AktiveX-Controls ( OCX )
compatible with VisualBasic, Delphi and C, C++

Some exsamples of the Bundle :

Image

Image

Image

Image

Image

Image


Maybe it is something You can need.
It is a bit expensive and I don't know, if You want to pay much money.

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests