Archive: icon for radiobutton control


icon for radiobutton control
Hi,

I'm trying to put an icon for a radiobutton control - between the button and the text. So what I tried was to enter a few spaces at the beginning of the text and add an icon. The problem is that the icon is behind the button and the text. How can I resolve this?

Thanks,

Jonathan


Problem with standard radio buttons is you can't set a transparent background (you can try though; it may work on Vista/7 but not on XP). You will have to use a static text instead next to the radio button (and give it an onClick event to check the radio button).

Stu


Thanks! It worked: I used label and put in its user data the handle of the radio and assigned an onClick which invokes a click for the appropriate radio.