Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Archicad C++ API
About Archicad add-on development using the C++ API.

Button color

Anonymous
Not applicable
Hi,
stuck with the API again
I'm trying to make a simple colored button. It can also be a static text on a colored background.

I tried:
DG::Button - no method SetBackgroundColor
DG::CenterText - also no method SetBackgroundColor
DG::UserItem with DG::CenterText - UserItem is always on top, so text is not visible, alpha channel in Gfx::Color is ignored...

Is there any simple trick to achieve that? I dont want to use images...

I would really appreciate some documentation for the C++ OOP section of DG, because there isnt any (neither in DevKit doc, nor in headers...)
0 REPLIES 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!