FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour RMChart and FW1204
Posts: 230
Joined: Sat Apr 19, 2008 10:28 PM
RMChart and FW1204
Posted: Fri Jun 15, 2012 06:03 PM
Hi everyone,

Following Tim Stone post, I have been using RMChart with ActiveX in some of my programs for many years. Recently I have updated FiveWin and Harbour to the last version. My previous version was several years old.

Now I get an error in this line:

Code (fw): Select all Collapse
oChart:Region( 1 ):Caption:Titel := "Center of Gravity Limits"


And this is the code I use:

Code (fw): Select all Collapse
METHOD New( oWnd, nId ) CLASS TRMChartX
    LOCAL cMsg := ""
      IF nId != NIL
          ::oControl := TActiveX():Redefine( nId, oWnd, "RMChart.RMChartX" )
       ELSE
          ::oControl := TActiveX():New( oWnd, "RMChart.RMChartX" )
       ENDIF

       IF !Empty( oWnd:hWnd )
          ::Activate()
       ENDIF


Is anyone using RMChart with a recent version of Haurbour? Does it work with xHarbour?

Thank you very much.

Alvaro
FWH1204 + harbour 20120531 + bcc582
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: RMChart and FW1204
Posted: Sat Jun 16, 2012 01:47 AM

I have not used RmChart till now. This is just a hint.
Instead of
oChart:Region( 1 ):Caption:Titel := "Center of Gravity Limits"

Please try
oChart:Region[ 1 ]:Caption:Titel := "Center of Gravity Limits"

Regards
Anser

Posts: 230
Joined: Sat Apr 19, 2008 10:28 PM
Re: RMChart and FW1204
Posted: Sat Jun 16, 2012 06:09 AM

Hi Anser,

Thank you for you reply. I am sorry to say that it doesn't work either. Maybe RMChart.ocx or RMChart.dll is not longer compatible with the new versions.
The same code worked with FWH 8.06 and Harbour 1.0.1dev Intl. (Rev. 9361). If I don't find a solution I will have to go back to the old version.

Regards,

Alvaro
FWH 12.04
Harbour 3.2.0dev (Rev. 17516)
Borland C++ 5.82 for Win32

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: RMChart and FW1204
Posted: Sat Jun 16, 2012 10:45 AM

Titel or Title? Could it be a mistype?

EMG

Posts: 230
Joined: Sat Apr 19, 2008 10:28 PM
Re: RMChart and FW1204
Posted: Sun Jun 17, 2012 09:43 AM

Hi Enrico,

It is "Titel". I get the same error in other lines too. All the code I am using is a "copy and paste" of the code that was working in previous versions of Harbour. Any one using RMChart can tell me what version of Harbour is using ?

Thank you very much.

Alvaro

Posts: 148
Joined: Tue Mar 20, 2007 03:13 PM
Re: RMChart and FW1204
Posted: Tue Aug 21, 2012 08:59 PM

Olá Alvaro,

Vi que você tem a rmchart para harbour funcionando. Pergunto se seria possível disponibilizar uma cópia. Pois tentei com harbour 1.1-1 e não consegui colocar para funcionar.

Desde já agradeço.

Oliveiros Junior

E-Mail: oliveiros.jr@uol.com.br

Continue the discussion