Skip to main content

[Migrated content. Thread originally posted on 13 May 2005]

Anyone know how to make buttons that can be different colours?

I know that the standard Acucobol push buttons do not support this, but I was wondering if someone had come up with some fancy combinations of transparent bitmaps or the like that achieves this.

Would prefer a solution that does not require ActiveX.

Cheers,

Duncan.

[Migrated content. Thread originally posted on 13 May 2005]

Anyone know how to make buttons that can be different colours?

I know that the standard Acucobol push buttons do not support this, but I was wondering if someone had come up with some fancy combinations of transparent bitmaps or the like that achieves this.

Would prefer a solution that does not require ActiveX.

Cheers,

Duncan.
We've addressed this by just using bitmap push buttons using standard AcuGT.

Rob

[Migrated content. Thread originally posted on 13 May 2005]

Anyone know how to make buttons that can be different colours?

I know that the standard Acucobol push buttons do not support this, but I was wondering if someone had come up with some fancy combinations of transparent bitmaps or the like that achieves this.

Would prefer a solution that does not require ActiveX.

Cheers,

Duncan.
Thanks for your reply.

Yes, we thought of that, but the text on the buttons is dynamic, not fixed.

We thought about putting the dynamic text over a coloured, raised frame, but neither of these controls produce the CLICKED event.

We may yet have to look at low-level monitoring of the mouse (using MOUSE_FLAGS) but we just wanted to check there wasn't another way to do this.