Recent

Author Topic: [SOLVED] Error: No default property available  (Read 2687 times)

avv210

  • New Member
  • *
  • Posts: 13
[SOLVED] Error: No default property available
« on: December 26, 2021, 01:43:39 pm »
Hi guys, so I am working on my college assignment, and then I have an error. The error is in attachment.

Here is my GitHub project ->https://github.com/AlphaByte-RedTeam/College/blob/main/Semester%203/Digital%20Image%20Processing/Tugas/Tugas%20%233/filteringproject.pas

How can I resolve the issue? Thank you :D

---

Edit: Thank you for all the answer, sorry. Silly mistake  :D
« Last Edit: December 27, 2021, 09:23:49 am by avv210 »

dbannon

  • Hero Member
  • *****
  • Posts: 2791
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Error: No default property available
« Reply #1 on: December 26, 2021, 01:58:51 pm »
The error message points to line 110, col 87

kernalSize, seems to be a TLabel, does not look to me that it belongs in the expression on line 110.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

dseligo

  • Hero Member
  • *****
  • Posts: 1219
Re: Error: No default property available
« Reply #2 on: December 26, 2021, 03:12:36 pm »
You have TLabel named kernelSize, but also on line 53 you have this:
Code: Pascal  [Select][+][-]
  1. kernelSize: array[0..100, 0..100] of double;

Rename your label name to something else.

 

TinyPortal © 2005-2018