Why doesn't OnUpdate trigger for invisible components [duplicate]
问题 This question already has answers here : How can I use an action to determine a control's visibility? (3 answers) Closed 5 years ago . When I make a component invisible by setting the connected TAction to invisible, the onupdate event will not trigger anymore. To recreate, do the following. Create a new VCL forms application Drop a button, a checkbox and an actionlist on the form. Create a new action, and connect the button to it. Write the following code for the actions OnExecute and