Problem with fshcomp package lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- iorek · 2009-12-14 11:50 Hi ! I have been trying to install fshcomp package http://wiki.lazarus.freepascal.org/Fshcomp to lazarus. I have lazarus snapshot 0.9.29-22663. I have found the problem with the code (same as here http://forum.lazarus.freepascal.org/index.php/topic,6400.0.html), but I have menaged to correct it and install the package. I now have the components in IDE, but when I drop TSrEditCur (currency entry) to the form, I get an error saying: Code: [Select]"SrEditCur1" is an invalid floatIDE then dies. I assume this is because IDE wants to set initial value of text property of TSrEditCur (as it is descendant of TCustomEdit) to "SrEditCur1", but TSrEditCur expects a float. My question is how to set default value for text property of TSrEditCur component? I would like to correct fshcomp package or find another component for currency entry. LP, Tomaž ---------------------------------------------------------------------- iorek · 2009-12-18 08:05 Quote from: iorek on December 14, 2009, 12:50:10 pm My question is how to set default value for text property of TSrEditCur component? I would like to correct fshcomp package or find another component for currency entry. Mattias Gaertner helped me with this and I managed to make it usable on recent lazarus. I tested it on windows and linux, but I think it could be improved further. I attach my changes here if anyone needs it. It would be nice if someone could upload this to Lazarus CCR on sourceforge. LP, Tomaž