Old 20th April 2011, 16:36   #1
zenpoy
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
zenpoy is offline   Reply With Quote
Old 20th April 2011, 21:56   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 21st April 2011, 17:00   #3
zenpoy
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.
zenpoy is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
icon, radiobutton

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump