![]() |
#1 |
Junior Member
Join Date: Feb 2011
Posts: 38
|
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 |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Feb 2011
Posts: 38
|
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.
|
![]() |
![]() |
![]() |
|
Tags |
icon, radiobutton |
Thread Tools | Search this Thread |
Display Modes | |
|
|