Recent

Author Topic: [SOLVED] DBNavigator's VisbleButtons' icons are not showing  (Read 3814 times)

NelsonN

  • Jr. Member
  • **
  • Posts: 69
    • Beam Me Up!
[SOLVED] DBNavigator's VisbleButtons' icons are not showing
« on: March 08, 2018, 02:26:38 am »
I am working with an fpcupdeluxe trunk install in Windows 10.

The DBNavigator's VisbleButtons icons are not showing on the buttons. The buttons are functioning as they should.

I can see the buttons' icons when I add the component on a form. They are just not showing at runtime.

It seems to be all the buttons' with icons. If I create a new project then they work. Obviously it is some issue with this project I am working with, it is from an older Lazarus version. It worked as expected in Lazarus Version 1.
« Last Edit: March 09, 2018, 12:06:42 pm by NelsonN »
Lazarus trunk / FPC 3.0.4 / 32-bit and 64-bit with Windows 10.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: DBNavigator's VisbleButtons' icons are not showing
« Reply #1 on: March 08, 2018, 05:26:39 am »
do you mix fpresources and lazarus resources on the same project? Is your form lfm or lrs based? Open the project options\Miscellaneous and check the resource type of project. I would suggest to use fpresources in your projects.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

NelsonN

  • Jr. Member
  • **
  • Posts: 69
    • Beam Me Up!
Re: DBNavigator's VisbleButtons' icons are not showing
« Reply #2 on: March 08, 2018, 12:02:40 pm »
The forms all have an .lfm extension and under Miscellaneous is set to:

Save .lrs files in the output directory (although I don't see any)
FPC resources (.res)
Lazarus trunk / FPC 3.0.4 / 32-bit and 64-bit with Windows 10.

NelsonN

  • Jr. Member
  • **
  • Posts: 69
    • Beam Me Up!
Re: DBNavigator's VisbleButtons' icons are not showing
« Reply #3 on: March 08, 2018, 08:40:26 pm »
Anyone else have any ideas?
Lazarus trunk / FPC 3.0.4 / 32-bit and 64-bit with Windows 10.

Soner

  • Sr. Member
  • ****
  • Posts: 305
Re: DBNavigator's VisbleButtons' icons are not showing
« Reply #4 on: March 08, 2018, 09:02:26 pm »
Delete compiled files in project folder and compile your project again.
(lib sub folder in your project folder)

NelsonN

  • Jr. Member
  • **
  • Posts: 69
    • Beam Me Up!
Re: DBNavigator's VisbleButtons' icons are not showing
« Reply #5 on: March 09, 2018, 12:05:43 pm »
I found the problem, it was an older Vampye Imaging Library component that the project was using.
Lazarus trunk / FPC 3.0.4 / 32-bit and 64-bit with Windows 10.

wp

  • Hero Member
  • *****
  • Posts: 11922
Re: [SOLVED] DBNavigator's VisbleButtons' icons are not showing
« Reply #6 on: March 09, 2018, 12:23:18 pm »
Just out of curiosity: Why do you use Vampyre Imaging? The graphics support by fpc/Lazarus is much more versatile than by Delphi, and I never had a need for these external libraries by now.

NelsonN

  • Jr. Member
  • **
  • Posts: 69
    • Beam Me Up!
Re: [SOLVED] DBNavigator's VisbleButtons' icons are not showing
« Reply #7 on: March 09, 2018, 01:38:56 pm »
I believe it was because it gave me more imaging options at the time and allowed me to do conversions in memory.
« Last Edit: March 09, 2018, 02:34:10 pm by NelsonN »
Lazarus trunk / FPC 3.0.4 / 32-bit and 64-bit with Windows 10.

 

TinyPortal © 2005-2018