Forum > LCL
Compiling Cactus Jukebox with Lazarus 2.2.6 (Error: identifier idents no member)
Roland57:
Hello everybody!
I would like to compile Cactus Jukebox with Lazarus 2.2.6 (under Linux).
I could solve by myself almost all compilation errors, but I don't know what to do with this one:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---// source/plugin/impl/cj_interfaces_impl.pasprocedure TCJ_TrayIcon_Impl.ShowNotification(AImageList :Integer; Icon :Integer; Msg :PChar; Sound :PChar);begin if (AImageList=-1) then AImageList :=global_vars.ImageListNormal.Handle; // cj_interfaces_impl.pas(515,52) Error: identifier idents no member "Handle"
Would someone know how to fix that procedure?
jamie:
I guess the logical approach would be to open that file and examine the class the handle is in?
Maybe it's sitting within a private section?
Roland57:
Here is the variable declaration.
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---// global_vars.pasVar ImageListNormal :TImageList;
cdbc:
Hi
Does 'TImageList' surface a public property 'Handle'?!?
If not, there's your problem...
Regards Benny
jamie:
I don't see a handle in there.
I suspect that maybe that package had its own imagelist.
look at the supplied units that come with it.
Navigation
[0] Message Index
[#] Next page