RMChart and FW1204

RMChart and FW1204

Postby alvaro533 » Fri Jun 15, 2012 6: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: Select all  Expand view
oChart:Region( 1 ):Caption:Titel := "Center of Gravity Limits"


And this is the code I use:

Code: Select all  Expand view
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
alvaro533
 
Posts: 206
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

Re: RMChart and FW1204

Postby anserkk » Sat Jun 16, 2012 1: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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: RMChart and FW1204

Postby alvaro533 » Sat Jun 16, 2012 6: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
alvaro533
 
Posts: 206
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

Re: RMChart and FW1204

Postby Enrico Maria Giordano » Sat Jun 16, 2012 10:45 am

Titel or Title? Could it be a mistype?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: RMChart and FW1204

Postby alvaro533 » Sun Jun 17, 2012 9: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
alvaro533
 
Posts: 206
Joined: Sat Apr 19, 2008 10:28 pm
Location: Madrid, España

Re: RMChart and FW1204

Postby oliveiros junior » Tue Aug 21, 2012 8: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
oliveiros junior
 
Posts: 125
Joined: Tue Mar 20, 2007 3:13 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 89 guests