Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

New component on palette shows white or black icons only 2 years 10 months ago #16470

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Hi,

I Installed a new component and all the icons are either white and/or black

Haven't had this problem on 7.5

Is there a way I can resolve this ?

Thanks

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

Last edit: by Tod Arivah.

New component on palette shows white or black icons only 2 years 10 months ago #16472

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Any component icon file to test ?
PilotLogic Core Programmer

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

New component on palette shows white or black icons only 2 years 10 months ago #16473

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Hi,

Thanks for replying.

Here are the .dcr files:
Attachments:

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

New component on palette shows white or black icons only 2 years 10 months ago #16474

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
I use Borland Res Editor from CTCenter

 


to convert *.dcr  => *.res 
(source2.7z attach)

Copy *.res files to your source directory and
change in to your code *.dcr  to *.res

 
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16476

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Thanks,

Will try that

Happy new year

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

New component on palette shows white or black icons only 2 years 10 months ago #16477

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Happy new year
PilotLogic Core Programmer

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

New component on palette shows white or black icons only 2 years 10 months ago #16478

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Hi again,

Couldn't find a way to fix it, icons in the palette remains blank.

However I did reinstalled CT 7.5 and everything is fine.

See attached:
Attachments:

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

New component on palette shows white or black icons only 2 years 10 months ago #16486

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Is there a way to upgrade to 7.6 without removing and rebuild all but to keep already manually installed components ?

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

New component on palette shows white or black icons only 2 years 10 months ago #16487

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
No
put first all  *.res from attach file to the same directory with *.dcr files.
Replace to your library source code *.dcr  with *.res

{$R foo.dcr }   => {$R foo.res } 
PilotLogic Core Programmer

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16488

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
The thing is that there is no .dcr mentionned in any files...

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

New component on palette shows white or black icons only 2 years 10 months ago #16491

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
The problem is with components image format.
CT use PNG 32 bits image format.

Please, if you want, post here,
the source code of components registration or
the source code of a component registration.


 
PilotLogic Core Programmer

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16498

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
So if I understand correctly CT 7.5 was using 16 bits image formats and 7.6 does not use them anymore, is that right ?

Here are the files attached

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

New component on palette shows white or black icons only 2 years 10 months ago #16505

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
Looks like the file was too big in size, here's a smaller one...

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16507

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Sir
this is Commercial Source code.
We can't give support to a Commercial product without owner permission.

Please, contact with Source code owner "SAP affiliate company"
for support.
 
PilotLogic Core Programmer

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16509

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
We are the owner, we bought the license for the product. Support is for end users, not the company who built the product.

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

New component on palette shows white or black icons only 2 years 10 months ago #16510

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
In this case
please,
attach again the source or
send an email to This email address is being protected from spambots. You need JavaScript enabled to view it. with the source.

We will try to fix the problem.
PilotLogic Core Programmer

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

Last edit: by Matis A..

New component on palette shows white or black icons only 2 years 10 months ago #16535

  • Tod Arivah
  • Tod Arivah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 0
After verification, SAP doesn't provide the source code for their component even if you bought them.

Just tried to install it under Lazarus and everything is fine so the problem is with CT 7.60 since it does work with CT 7.50.

I will continue to use Lazarus from now until CT fixes the bugs.

Thanks for the help.

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

  • Page:
  • 1