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

Question A suggestion in gd_dockingbase.pas

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 week ago #10697 by Luca
Luca created the topic: A suggestion in gd_dockingbase.pas
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
1 year 1 week ago #10700 by Sternas Stefanos
Sternas Stefanos replied the topic: A suggestion in gd_dockingbase.pas
Thanks Sir
we will add your suggestion

CodeTyphon Architect and Programmer

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