bgrabitmap / bgracontrols

🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
https://bgrabitmap.github.io/bgracontrols/
189 stars 32 forks source link

Add GroupIndex in Buttons Controls #80

Closed salvadorbs closed 4 years ago

salvadorbs commented 4 years ago

I'm porting my software from Delphi to Lazarus and considering that CindyComps in Lazarus has poor performance and issues, I want using BGRA Controls. Precisely I'm using TBCImageButton, but I miss a property like GroupIndex. With this property, I can use TBCImageButton as tab controls. So I have only one button in pressed state and others "up" state.

lainz commented 4 years ago

Hi, you should create a new class like TMyBCImageButton = class(TBCImageButton) and add these custom properties there. Or using class helpers as well, but I've not used these too much so maybe ask in the forum if you don't know how to use them.

salvadorbs commented 4 years ago

No problem. I will extend TBCImageButton in my Application. Thank you anyway!