Welcome, Guest
Username: Password: Remember me
Components and Libraries for Design Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

A suggestion in gd_dockingbase.pas 7 years 8 months ago #10697

  • Luca
  • Luca's Avatar Topic Author
  • Visitor
  • Visitor
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.

A suggestion in gd_dockingbase.pas 7 years 8 months ago #10700

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
Thanks Sir
we will add your suggestion
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1