How to add a TGPicture in a TGFrame?


I would like to add a Picture in a Frame (TGHorizontalFrame) but I don’t know how to do that. The only solution I have found is to put it in a TGPictureButton, but I don’t want that the user can click on it, and if I disable the button, the image is no more clearly visible.

Any idea ?

Thanks in advance



How can I put a TASImage in a TGFrame ?


You can use a TGIcon

Cheers, Bertrand.

Cool, thank you. And an other question, is there a way to create a kind of TGButton which contains at the same time an icon and a text beside ?

No, it’s either a TGPictureButton or a TGTextButton

Ok, I will do this this. thank you for the reactivity !

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.