Author Topic: [ANN] TyControls 3.0 released: 165 custom-drawn, themeable controls for Lazarus  (Read 5440 times)

ACTom

  • New Member
  • *
  • Posts: 15
Not yet. How about a Multi-thumb TrackBar? It could support two knobs, or even more if needed.

Would be really nice to have that kind of component!

It's on the plan for TyControls 4.0: https://github.com/ACTom/TyControls/issues/36
If you have other ideas for it, feel free to post them in that issue.

edwinyzh

  • Jr. Member
  • **
  • Posts: 52
This is huge! Unbeliveably fantastic work! Thanks for sharing!
I'm really excited about it, and Lazarus is more and more capable of replacing Delphi for desktop GUI projects ;)

kirchfritz

  • Jr. Member
  • **
  • Posts: 80
  • WIN11 LAZ 4.2 FPC 3.2.2
I successfully started your TyControls ribbon example, but after resizing the main window, the caption title is misplaced.
Is this a bug or a feature?

Navadvipa Chandra das

  • Newbie
  • Posts: 1
Hello, All!

1. Why is there no such important component as TTyDBGrid? In my opinion the library doesn't look serious without DBGrid.

2. I understand that if the TyControls library removed the Ty prefix in the names of its Controls, it could take a place next to the fpgui library, since both of them are Custom Draw. Did I understand correctly that TyControls is a direct competitor to fpgui?
Here is the Lazarus Roadmap page https://wiki.lazarus.freepascal.org/Roadmap .

Thanks!
With best regards, Navadvipa Chandra das.
« Last Edit: October 10, 2026, 03:21:46 pm by Navadvipa Chandra das »

ACTom

  • New Member
  • *
  • Posts: 15
Not yet. How about a Multi-thumb TrackBar? It could support two knobs, or even more if needed.

Would be really nice to have that kind of component!

It's on the plan for TyControls 4.0: https://github.com/ACTom/TyControls/issues/36
If you have other ideas for it, feel free to post them in that issue.

@apeoperaio This is the example just implemented, take a look and see how it is?

ACTom

  • New Member
  • *
  • Posts: 15
I successfully started your TyControls ribbon example, but after resizing the main window, the caption title is misplaced.
Is this a bug or a feature?

This looks like a bug, let me see how to fix it.

ACTom

  • New Member
  • *
  • Posts: 15
Hello, All!

1. Why is there no such important component as TTyDBGrid? In my opinion the library doesn't look serious without DBGrid.

2. I understand that if the TyControls library removed the Ty prefix in the names of its Controls, it could take a place next to the fpgui library, since both of them are Custom Draw. Did I understand correctly that TyControls is a direct competitor to fpgui?
Here is the Lazarus Roadmap page https://wiki.lazarus.freepascal.org/Roadmap .

Thanks!
With best regards, Navadvipa Chandra das.

1. The controls of the DB class are still under development, and DBGrid is expected to be added to the main branch this week; you can try again in a few days.
2. This control package is positioned differently from fpgui. fpgui is lower level and is one of the widgetsets, similar to gtk and qt. This control package is based on LCL and BGRABitmap, and belongs to the ordinary control package.

apeoperaio

  • Sr. Member
  • ****
  • Posts: 310
@apeoperaio This is the example just implemented, take a look and see how it is?

Looks nice! Thank you!

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4760
  • I like bugs.
2. This control package is positioned differently from fpgui. fpgui is lower level and is one of the widgetsets, similar to gtk and qt. This control package is based on LCL and BGRABitmap, and belongs to the ordinary control package.
Indeed there is a half baked non-functional LCL widgetset for fpgui which is not even developed by fpgui's author Graeme. Originally fpgui is not designed for Lazarus but has its own designer and the programming model is different.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Antek

  • New Member
  • *
  • Posts: 34
v3.0.2. and main 2026.10.15:
TtyTrackEdit has same issue as TtySpinEdit had before.
The Cursor does not change.
Also the TrackEdit -edit/trackbar width is not sizeable?Design or bug?

Great componets keep on going!!

ACTom

  • New Member
  • *
  • Posts: 15
v3.0.2. and main 2026.10.15:
TtyTrackEdit has same issue as TtySpinEdit had before.
The Cursor does not change.
Also the TrackEdit -edit/trackbar width is not sizeable?Design or bug?

Great componets keep on going!!

Thanks, Antek, both checked.

The cursor is a bug. Over the slider of TTyTrackEdit the pointer stayed the I-beam, and so did it over the buttons of TTyComboEdit, TTyURLEdit, TTyCalcEdit / TTyCalcCurrencyEdit and the "..." button of the value list editor. They now show the arrow there and the I-beam over the text. Fixed for 3.0.3 and in main: https://github.com/ACTom/TyControls/issues/84

The width was by design so far: the slider zone is a fixed 74 px, and widening the control widens only the number. Main (4.0) now has a SliderWidth property (in 96-DPI pixels, default 74; 0 hides the slider): https://github.com/ACTom/TyControls/issues/85 3.0.x won't get it, because a form saved with the new property would not load in an older 3.0.x.

 

TinyPortal © 2005-2018