Page 1 of 1

RMChart and FW1204

Posted: Fri Jun 15, 2012 6:03 pm
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

Re: RMChart and FW1204

Posted: Sat Jun 16, 2012 1:47 am
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

Re: RMChart and FW1204

Posted: Sat Jun 16, 2012 6:09 am
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

Re: RMChart and FW1204

Posted: Sat Jun 16, 2012 10:45 am
by Enrico Maria Giordano
Titel or Title? Could it be a mistype?

EMG

Re: RMChart and FW1204

Posted: Sun Jun 17, 2012 9:43 am
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

Re: RMChart and FW1204

Posted: Tue Aug 21, 2012 8:59 pm
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