Recent

Author Topic: [SOLVED] Is there DB-aware spin edit component?  (Read 1113 times)

artem101

  • Full Member
  • ***
  • Posts: 101
[SOLVED] Is there DB-aware spin edit component?
« on: November 22, 2024, 07:17:34 pm »
I did't find something like TDBSpinEdit or TDBFloatSpinEdit in Lazarus controls. Now I use some TDBEdit filelds for numbers and manually checks in KeyPress/Change events: if digits typed, min/max value, etc... It's very boring. Maybe there is any additional package with such controls? I use standart Lazarus SQLdb package with Mysql 5.7.
« Last Edit: November 23, 2024, 10:20:16 am by artem101 »

dsiders

  • Hero Member
  • *****
  • Posts: 1327
Re: Is there DB-aware spin edit component?
« Reply #1 on: November 22, 2024, 08:30:29 pm »
I did't find something like TDBSpinEdit or TDBFloatSpinEdit in Lazarus controls. Now I use some TDBEdit filelds for numbers and manually checks in KeyPress/Change events: if digits typed, min/max value, etc... It's very boring. Maybe there is any additional package with such controls? I use standart Lazarus SQLdb package with Mysql 5.7.

I have not used it, but I know there is a data-aware spin edit control (TRxDBSpinEdit) in the Rx package available on OPM.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

artem101

  • Full Member
  • ***
  • Posts: 101
Re: Is there DB-aware spin edit component?
« Reply #2 on: November 23, 2024, 10:18:54 am »
(TRxDBSpinEdit) in the Rx package

Thank you. I just tested TRxDBSpinEdit - it works great. Also I found in this package some more useful controls.

dsiders

  • Hero Member
  • *****
  • Posts: 1327
Re: Is there DB-aware spin edit component?
« Reply #3 on: November 23, 2024, 10:24:09 am »
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018