How to apply a vcl style hook to a particular component of a form?
问题 I'm using the vcl style hook of the answer to this question close button of a tabsheet not supporting vcl styles and is working fine, but the close button is draw in all the TPageControl components of my app. And I want add this option (draw the close button) to only a particular form. The question is : how I can apply this hook or any vcl style hook just to the TPageControl of a specific form? 回答1: You can use a interposer class for the TPageControl component check this sample type