I want to get at a specific bitmap from a VCL style - and set it as an image on a button - it is actually the help question mark. In the Bitmap Style Editor is is the btnHelp image, from the Form.
I want to get at a specific bitmap from a VCL style - and set it as an image on a button - it is actually the help question mark. In the Bitmap Style Editor is is the btnHelp image, from the Form.
To get a Visual element (glyph) from a VCL Style you must use the
GetElementDetails
and theTCustomStyleServices.DrawElement
procedure.Try this sample