* * *

Author Topic: How do you change the BGRAControls BCButton style programmatically?  (Read 922 times)

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 345
  • Programming is FUN only when it works :)
    • Cool Technology
Before someone calls me dummy... I am not talking about the "style" property of TBCButton - [bbtbutton, bbtdropdown]. The style of a button can be changed from Style manager that totally changes look and feel of the button like flat or 3d. I am probably speaking of the same thing. However, I don't get the same option on the properties window as I do on the style manager. Just take look at the images I've attached to this post.

I placed a BCButton on the form and double clicked on it. Then, it opened a "style manager" and I can select the button style as shown in the file named "style manager".

So, how do you do the same programmatically? for some reason I can't seem to find away to do it.



Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus