Dear Mr. Rao,
I have seen that
TButton inherit from TControl.
But I have not checked whether the paint method takes into account all the data. I will test with ButtonBmp.
I think we should extend AUTOCODE in this direction.
Thank you for your help and best regard
Otto