RMChart and FW1204

Post Reply
alvaro533
Posts: 179
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

RMChart and FW1204

Post by alvaro533 »

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: Select all

oChart:Region( 1 ):Caption:Titel := "Center of Gravity Limits"
And this is the code I use:

Code: Select all

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
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: RMChart and FW1204

Post by anserkk »

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
alvaro533
Posts: 179
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

Re: RMChart and FW1204

Post by alvaro533 »

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
alvaro533
Posts: 179
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

Re: RMChart and FW1204

Post by alvaro533 »

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
oliveiros junior
Posts: 84
Joined: Tue Mar 20, 2007 3:13 pm

Re: RMChart and FW1204

Post by oliveiros junior »

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
Post Reply