Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add CustomListDrawItem of any signature with := #1

Open
Poikilos opened this issue Dec 10, 2024 · 0 comments
Open

Cannot add CustomListDrawItem of any signature with := #1

Poikilos opened this issue Dec 10, 2024 · 0 comments

Comments

@Poikilos
Copy link
Contributor

See https://forum.lazarus.freepascal.org/index.php?topic=31945.0--The signature in my version matches that, but a DrawItem with that signature cannot be added with CustomListDrawItem := DrawItem.

  • Also tried 3, 2, 1, or 0 arguments. With 0 arguments, the compiler confirms that signature was correct even though when using that, it said the signature with 4 (or 3 or 2 or 1) arguments didn't match :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant