DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

RadioButton

Hi,
 
How do I access the RadioButton's?
In every method like "EventChange" I get the Error that this method supported.
 
Thomas
0 Kudos
Message 1 of 9
(5,896 Views)
Hello Thomas!

The value is in the Value property of the radio button group. You can define the value for every button in the ListItems editor.

Example:
Sub RadioButton1_EventChange()
Dim This : Set This = RadioButton1
MsgBox RadioButton1.Value
End Sub

Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 9
(5,890 Views)
Thanks
 
Can you get those informations by the help?
 
Thomas
0 Kudos
Message 3 of 9
(5,892 Views)
Hello Thomas!

In this case: Not really! (DIAdem 9.1)

There is some information for this topic in the help but it is more able to confuse then to help. I have heard that this will be better in the DIAdem 10 help.

My way was a combination of knowledge and combinatorics. Just have a look on the properties list and try to change the settings in the SUD editor. You will see the result without running the dialog.

Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 4 of 9
(5,879 Views)
Hello,
 
I like to change the name of the Items from a RadioButton. I did try some stuff but it never works.
 
RadioButton3.Items(1).Name
 
How do I access the Name of each Item?
 
Thomas
 
 
0 Kudos
Message 5 of 9
(5,820 Views)
Hello Thomas!

Try RadioButton3.Items(1).Text and before you ask: Found by trial and error.

Have fun with SUD ;-)))


Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 6 of 9
(5,814 Views)
Thanks Matthias
0 Kudos
Message 7 of 9
(5,812 Views)
Reviving an old thread here, but I'm looking for some information on using Radio Buttons.  Most specifically how change the value of a radio button when another is clicked (only one selected at a time) and then also how to use the current value of a radio button in an If-statement.
0 Kudos
Message 8 of 9
(5,025 Views)
Hello!
 
In SUD RadioButtons are grouped. This group has one property 'Value'. Possible values of 'Value' are defined while adding buttons via the 'ListItems' property. You can read or write 'Value' whenever you want.
 
Hope this helps a little bit. Otherwise feel free to ask
 
Matthias
 
 
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 9 of 9
(4,989 Views)