Lazarus

Programming => Packages and Libraries => Topic started by: eldonfsr on October 05, 2017, 05:45:43 pm

Title: Rx Error compile Addcolortopalete exportspreadsheet
Post by: eldonfsr on October 05, 2017, 05:45:43 pm
After install rx and open rxdbgrid ask me install exportspreadsheet but when is compiling send me this error
scColor:=FWorkbook.AddColorToPalette(CC);

identifier ident no member

what i need.
Title: Re: Rx Error compile Addcolortopalete exportspreadsheet
Post by: GetMem on October 06, 2017, 08:01:53 am
Hi eldonfsr,

Providing a Lazarus, FPC, Rx and OS version would be helpful. Without those specific information, I doubt somebody can give you a useful advice.
Title: Re: Rx Error compile Addcolortopalete exportspreadsheet
Post by: wp on October 06, 2017, 09:13:25 am
You probably have an outdated version of fpspreadsheet, the palette color system was changed a long time ago. As GetMem said, please provide version numbers.
Title: Re: Rx Error compile Addcolortopalete exportspreadsheet
Post by: eldonfsr on October 06, 2017, 06:47:40 pm
thnaks is lazarus 1.6.4 running on win 7  i download the las version.
Title: Re: Rx Error compile Addcolortopalete exportspreadsheet
Post by: wp on October 06, 2017, 10:06:07 pm
Last version of what? fpspreadsheet? RX? And "last version" is relative: If you got it from an outdated site their last version may be outdated as well. Please post version numbers.
Title: Re: Rx Error compile Addcolortopalete exportspreadsheet
Post by: eldonfsr on October 07, 2017, 09:09:41 pm
Thanks for your help this what i have
rx 1.0
rxnew 2.6.5.152
spreadsheet 1.9
lazarus 1.6.4

now i receive this error
C:\componentes\rx\rxversinfo.pas
   lpGtk:Result:=sGTKWidgetSet;
    lpGtk2:Result:=sGTK2WidgetSet;
    lpWin32:Result:=sWin32_64WidgetSet;
    lpWinCE:Result:=sWinCEWidgetSet;
    lpCarbon:Result:=sCarbonWidgetSet;
    lpQT:Result:=sQTWidgetSet;
    lpfpGUI:Result:=sFpGUIWidgetSet;

lpGtk identifier not found.