Type | Description | |||
RadioGroup as Variant | A Long expression that specifies the radio-group being queried, or zero if you were not used any RadioGroup call. | |||
Variant | A Safe-Array of Item objects that indicates the radio-checked items in the control. The collection does include only items with the Radio property set on True. The collection may contains zero or one element indicating the radio-item being checked in the specified radio group. |
The following VB sample displays the caption of radio-item being checked ( single radio-group, or the RadioGroup property has not been used to create ore groups ) :
Dim c As Variant For Each c In contextMenu.GetRadio Debug.Print vbTab & c.Caption Next
The following VB sample displays the caption of radio-item being checked in the radio-group with the identifier 100:
Dim c As Variant For Each c In contextMenu.GetRadio(100) Debug.Print vbTab & c.Caption Next
The following VB/NET sample displays the caption of radio-item being checked ( single radio-group, or the RadioGroup property has not been used to create ore groups ) :
Dim c As Variant For Each c In contextMenu.GetRadio Debug.Print vbTab & c.Caption Next
The following VB/NET sample displays the caption of radio-item being checked in the radio-group with the identifier 100:
Dim c As Variant For Each c In contextMenu.get_GetRadio(100) Debug.Print vbTab & c.Caption Next
The following C# sample displays the caption of radio-item being checked ( single radio-group, or the RadioGroup property has not been used to create ore groups ) :
foreach (exontrol.EXCONTEXTMENULib.Item i in excontextmenu1.GetRadio) System.Diagnostics.Debug.Print("\t" + i.Caption);
The following C# sample displays the caption of radio-item being checked in the radio-group with the identifier 100:
foreach (exontrol.EXCONTEXTMENULib.Item i in excontextmenu1.get_GetRadio(100)) System.Diagnostics.Debug.Print("\t" + i.Caption);