Hi, There is a problem compiling:
ubrowseimages line 393
ubrowseimages.pas(393,26) Error: function header doesn't match any method of this class "TFBrowseImages.FormUTF8KeyPress(TObject,var TUtf8Char);"
ubrowseimages.pas(51,15) Hint: Found declaration: TFBrowseImages.FormUTF8KeyPress(TObject,var TUTF8Char);
It's weird because everything seems fine. I have lazarus 1.2.6 32 bit.
I see this:
- When I ctrl-click the "TUTF8Char" that is in the header of the class, it takes me to "LCLType" unit
- When I ctrl-click the "TUTF8Char" that is in the function in the body of the document, it takes me to "Masks" unit
The interface section is using LCLType and the implementation is using Masks.
The type is almost the same, but in Masks is lowercase "TUtf8Char = String[7];". Also in the LCLType there are more conditionals like "$IFDEF USE_UTF8BIDI_LCL"
I moved "Masks" from implementation to interface and now works. You can do ", Masks, LCLType;" or ", LCLType, Masks;". I don't know if this was fixed in Lazarus SVN and the problem exists only in this release version.