BBC BASIC for Windows
Programming >> User Interface >> Background color
http://bb4w.conforums.com/index.cgi?board=ui&action=display&num=1398608331

Background color
Post by g3nrw on Apr 27th, 2014, 2:18pm

Pursuing my GUI development, I have a radiobutton group that lets me select one of two options. When option 1 is selected, I want the background color of a particular control to change to red (say), and when option 2 is selected I want the background to change to a different color.

How do I do this?

--
Ian

Re: Background color
Post by g3nrw on Apr 28th, 2014, 2:57pm

OKaaay. Let's try again, this time talking only of standard Microsoft Win API colors.

When I am editing a document in MS Word (version 2003, under Windows 7), I can click on the "B" button to select Bold text. When I do this, the background color of the control changes from bluish to orange. If I click again, the color changes back to bluish.

What do I have to do to change the background color in this manner?

--
Ian