Recent

Author Topic: Custom TListView  (Read 1192 times)

1

  • Newbie
  • Posts: 1
Custom TListView
« on: June 01, 2024, 05:36:29 pm »
Is it possible to have one column in TListView that only can show for example "Yes" "No" and an arrow or similar to switch between this two choices?

Bart

  • Hero Member
  • *****
  • Posts: 5616
    • Bart en Mariska's Webstek
Re: Custom TListView
« Reply #1 on: June 01, 2024, 10:21:44 pm »
Does it have to be a TListView?

Bart

jamie

  • Hero Member
  • *****
  • Posts: 7319
Re: Custom TListView
« Reply #2 on: June 01, 2024, 10:56:44 pm »
a TValueListEditor is most likely what is needed.
The only true wisdom is knowing you know nothing

wp

  • Hero Member
  • *****
  • Posts: 13222
Re: Custom TListView
« Reply #3 on: June 01, 2024, 11:37:29 pm »
Is it possible to have one column in TListView that only can show for example "Yes" "No" and an arrow or similar to switch between this two choices?
Do you mean something like a checkbox? -> See attachment (see also: https://lazarus-ccr.sourceforge.io/docs/lcl/comctrls/tcustomlistview.checkboxes.html)

 

TinyPortal © 2005-2018