× Components and Libraries for Design Development, discussions, problems and suggestions

Question A suggestion in gd_dockingbase.pas

  • Luca
  • Topic Author
  • Visitor
  • Visitor
3 years 3 months ago #10697 by Luca
Good evening,
I wrote an application using the capabilities of the TGlassDockMaster class. It works well except for an error that is raised from line 2306
OrigBitmap := CreateBitmapFromLazarusResource('glassdock_close_icon')

I don't have this resource. To avoid this exception I've rebuilded the IDE with a simple tip:
if LazarusResources.Find('glassdock_close_icon') <> nil then
OrigBitmap := CreateBitmapFromLazarusResource('glassdock_close_icon')
else
OrigBitmap := nil;

I think this little change could be inserted in your package.

Thank you for the wonderful work you are doing.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 3 months ago #10700 by Sternas Stefanos
Replied by Sternas Stefanos on topic A suggestion in gd_dockingbase.pas
Thanks Sir
we will add your suggestion

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.