BBC BASIC for Windows
« Background color »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:26pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Background color  (Read 420 times)
g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx Background color
« Thread started 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
User IP Logged

g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx Re: Background color
« Reply #1 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


User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls