bunnyboy 0 Junior Poster in Training

Hey,

For my assignment I have to create a dialog with 6 radio buttons and one picture control. Radio buttons serves for setting the background color of picture control. Whenever the radio button selection is changed, background color is set to to its color settings.

So I created Group Box, draw in radio buttons, set first one group properties to true and add a variable to it.

Now I have problems with adding the event handler to them ... I right clicked on group box border and selected "add event handler" and chosen the "message type" to" bn_clicked". In this method I wrote switch statement and use the assigned variable for controlling it. But the thing is that it doesn't work ... so did I forget something or the whole concept of doing this is wrong?

Any help is appreciated. Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.