Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5134

  • DL7BJ
  • DL7BJ's Avatar Topic Author
  • Visitor
  • Visitor
Hi!

- TJDBLabeledDateEdit is missing resource JCalendarIcon
- It's a mess with the renamed libs, this I got if I open a project:
pl_synapsepkg could not be open
pl_titanscriptcom could not be open
pl_uibcomp could not be open
pl_DCPcomp could not be open
pl_geogiscomp could not be open
pl_pasdocpkg could not be open
pl_freefpidercomp could not be open
pl_visualplanitcomp could not be open
pl_indycomp could not be open
pl_lnetcomp could not be open
pl_shapespak could not be open
pl_zeosdbocomp could not be open
lazreportpdfexport could not be open

I have done a grep in my project directory. None of these are in use.

Greets,
Tom

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

Last edit: by DL7BJ.

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5138

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Please Sir
read CT changes logo file
These changes was "mandatory" for our future plans...
PilotLogic Architect and Core Programmer

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

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5145

  • DL7BJ
  • DL7BJ's Avatar Topic Author
  • Visitor
  • Visitor
Hi,

I have read the changelog.

But nothing found about the missing JCalendarIcon needed for JDBLabledDateEdit. Where I can find this?

Thanks,
Tom

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

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5146

  • Nicola
  • Nicola's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 0
Also I have the same problem. When I try to add the component on a form I get the following error: "Error creating component: TJDBLabeledDateEdit Resource" JCalendarIcon "not found."


I use CT 4.70
thanks
Attachments:

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

Last edit: by Nicola.

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5157

  • DL7BJ
  • DL7BJ's Avatar Topic Author
  • Visitor
  • Visitor
Hi!

Today I had time to analyze the problem with the missing JCalendarIcon.

The version of jujiboutils within CodeTyphon 4.5 (and 4.4) has a Object JDBLabeledDateEdit without the Speedbutton for a calendar view. CodeTyphon 4.7 now has another version of jujiboutils with a Speedbutton for a calender view. If you look at jdblabeleddateedit.pas you find the following lines:
FButton := TSpeedButton.Create(self);
  FButton.Height := Self.Height;
  FButton.FreeNotification(Self);
  CheckButtonVisible;
  FButton.Cursor := crArrow;
  FButton.Flat := False;

  FButton.OnClick := @ShowCalendar;
  FButton.ControlStyle := FButton.ControlStyle + [csNoDesignSelectable];
  // FButton.LoadGlyphFromLazarusResource('JCalendarIcon');
  ControlStyle := ControlStyle - [csSetCaption];

These lines are not exist in previous versions.

As you see, I have commented out the load of the Glyph. This is a workaround to suppress this error. But the Speedbutton is always there, without a glyph.

I think, the actually svn version of jujiboutils which is coming with CodeTyphon 4.7 is not complete or a buggy version. I have a 4.4 on my notebook, where the JDBLabeledDateEdit has no Speedbutton.

Regards,
Tom

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

Last edit: by DL7BJ.

Update from CodeTyphon 4.5 -> 4.7 10 years 1 month ago #5158

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Please Sir
use this fixed version, sorry for the delay... :(
post here for any other problem

PS
FButton.LoadGlyphFromLazarusResource('JCalendarIcon'); must used with LRS icon files

FButton.LoadGlyphFromResource(HInstance, 'JCalendarIcon'); used with RES icon files
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1