I'm using Delphi 10.4 Community Edition.
I have 3 items in a ListView with dynamic appearance, and 1 DateEdit:
- 2 textButtons, with name
btnCheckandbtnUnchek - 1 textItem, with name
txtSteam. This item has a value of 1 or 0 - the DateEdit with name
edtTanggal
I want that when txtSteam = 1 then btnCheck.Visible = false and btnUncheck.Visible = true. But I want to execute this logic in the OnChange event of edtTanggal.
I've managed to display the desired data in the ListView, but I can't control the visibility of the textButtons.
You have to use UpdateObjects event of Listview