Forum Replies Created
-
AuthorPosts
-
I have made the recommended change (ac_CheckEmptyAlpha : boolean = True) and rebuilded my project, but all stays the same… I think the main clue to that problem is: the glyph does not show itself only when TsBitBtn.Default = True…
I think it would better using TBitBtn (added in the 3rd party list and thus skinned) instead of TsBitBtn. There is some bisbehavior in TsBitBtn component… Let's compare these two controls:
1) Put them (TBitBtn (skinned) and TsBitBtn on the form
2) Set their “Kind” property to (for example) bkCancel (or bkOk, it makes no difference as a result)
3) Set their “Default” property to True
4) Run the form
5) See the difference ([attachment=6036:TBitBtn (left) and TsBitBtn (right).png]): TBitBtn, on the left, it looks more correct than TsBitBtn.
'Support' wrote:Maybe you know, this control is inherited from standard Button control?
This control have a Handle?
No, it is inherited from TWinControl -> TCustomControl and has a Handle. Its Bitmap.Transparency property is set (by me) to flFuchsia, but transparency does not work… As showed at the first attachement the area around the red circle is lightgray but should be the same color as its owner control (blue). The second attachement shows the TRzBMPButton when skinning is OFF.
-
AuthorPosts