View Single Post
  #1  
Old 08-07-2006, 09:19 PM
Omini Omini is offline
Millenium Owner
Join Date: Feb 2006
Location: N.Ireland
Posts: 293
Omini is on a distinguished road
Send a message via AIM to Omini Send a message via MSN to Omini Send a message via Yahoo to Omini
I have no idea how to use checkboxes either. But would the GuiRadioCtrl look something like this?

PHP Code:
new GuiRadioCtrl("RadioButton1") {
  
20;
  
20;
  
width 32;
  
height 32;
  
groupnum 1;
}

new 
GuiRadioCtrl("RadioButton2") {
  
60;
  
20;
  
width 32;
  
height 32;
  
groupnum 1;
}

new 
GuiRadioCtrl("RadioButton3") {
  
20;
  
60;
  
width 32;
  
height 32;
  
groupnum 2;
}

new 
GuiRadioCtrl("RadioButton4") {
  
60;
  
60;
  
width 32;
  
height 32;
  
groupnum 2;

Would that be it? Or is there anything else that I missed out?



Edit:

I've tried it and it works. Thanks for your help Yen.

Also - am I right in understanding that to read it, you've said GUI.checked? Would that be like this :

PHP Code:
if (RadioButton1.checked == true) { } 
Or is it something else?
__________________




Last edited by Omini; 08-07-2006 at 10:07 PM..
Reply With Quote