Author Topic: Sharing a Third-Party Component from a Chinese Expert【TyControls】  (Read 624 times)

dodgex

  • New Member
  • *
  • Posts: 22

Soner

  • Sr. Member
  • ****
  • Posts: 348
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #1 on: September 14, 2026, 11:21:10 am »
Wow, you’ve created a TyControl for every LCL-control, and they look really good. We can trash all other controls and use this.
I spotted a bug: when you add a TyControl to a form, the design-time package `tycontrols_dt` gets added to the project as well; that shouldn't happen—the runtime package is sufficient.
I would rename `TyHtmlLabel.Html` to `TyHtmlLabel1.Caption`.
In any case, they look really good.

Soner

  • Sr. Member
  • ****
  • Posts: 348
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #2 on: September 14, 2026, 11:42:27 am »
And one more thing: you don't need to specify the path for TyComponents separately, because you're adding it as a package.

Soner

  • Sr. Member
  • ****
  • Posts: 348
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #3 on: September 14, 2026, 12:39:16 pm »
There are also some scaling issues on the 24-inch 4K monitor. Look at the red markings in the images.

dodgex

  • New Member
  • *
  • Posts: 22
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #4 on: September 14, 2026, 01:37:19 pm »
m not the author; I'm just sharing this. You can leave comments on GitHub.

wp

  • Hero Member
  • *****
  • Posts: 13687
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #5 on: September 14, 2026, 03:25:59 pm »
BTW, TyControls is already available in OPM.

Soner

  • Sr. Member
  • ****
  • Posts: 348
Re: Sharing a Third-Party Component from a Chinese Expert【TyControls】
« Reply #6 on: September 15, 2026, 06:02:23 am »
I noticed that the owner announced it here https://forum.lazarus.freepascal.org/index.php?topic=74355.0 personally. Perhaps the moderators could merge the two topics.

 

TinyPortal © 2005-2018