Recent

Author Topic: Is it possible to place widgets on a TCanvas?  (Read 1107 times)

Mario

  • New Member
  • *
  • Posts: 31
Is it possible to place widgets on a TCanvas?
« on: December 18, 2024, 11:18:18 am »
Hi,

this is the question. Is it possible to place buttons, frames, etc on a canvas?

thanks,

Mario

dsiders

  • Hero Member
  • *****
  • Posts: 1342
Re: Is it possible to place widgets on a TCanvas?
« Reply #1 on: December 18, 2024, 05:57:36 pm »
Hi,

this is the question. Is it possible to place buttons, frames, etc on a canvas?

thanks,

Mario

Sounds like you're confusing Canvas with Panel. Controls *have a* canvas that they use to access drawing primitives. Canvas is not a container. That would be TPanel.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018