property Grid.RadioImage(Checked as Boolean) as Long
Retrieves or sets a value that indicates the image used by cells of radio type.

TypeDescription
Checked as Boolean A boolean expression that indicates the radio state being changed. True means checked, False means un-checked.
Long A long expression that indicates the index of icon used for cells of radio type. The last 7 bits in the high significant byte of the long expression indicates the identifier of the skin being used to paint the object. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the part. If the index is not valid the default icon is used. 

Use RadioImage and CheckImage properties to define the icons used for radio and check box cells. The RadioImage property defines the index of the icon being used by radio buttons. Use the CellHasRadioButton property to assign a radio button to a cell. Use the CellHasCheckBox property to assign a checkbox to a cell. Use the CellImage or CellImages property to assign one or multiple icons to a cell. Use the CellPicture property to assign a picture to a cell. Use the CellStateChanged event to notify your application when the cell's state is changed. Use the PartialCheck property to allow partial check feature within the column. Use the Images method to insert icons at runtime. The following samples require a control with icons, else nothing will be changed.

The following VB sample changes the radio buttons appearance ( the control's icons list should be loaded before ):

With Grid1
    .BeginUpdate
        .Columns.Add "Radio"
        For i = 0 To 2
            Dim h As HITEM
            h = .Items.AddItem("Option " & i)
            .Items.CellHasRadioButton(h) = True
            .Items.CellRadioGroup(h) = 1234
        Next

        .RadioImage(True) = 1          ' Changes the icon for checked radio cells.
        .RadioImage(False) = 2         ' Changes the icon for un-checked radio cells.
    .EndUpdate
End With

The following VB sample changes the default icon for the cells of radio type:

Grid1.RadioImage(True) = 1            ' Sets the icon for cells of radio type that are checked 
Grid1.RadioImage(False) = 2           ' Sets the icon for cells of radio type that are unchecked 

The Grid1.RadioImage(True) = 0 makes the control to use the default icon for painting cells of radio type that are checked.

The following C++ sample changes the default icon for the cells of radio type:

m_grid.SetRadioImage( TRUE, 1 );
m_grid.SetRadioImage( FALSE, 2 );

The following VB.NET sample changes the default icon for the cells of radio type:

With AxGrid1
    .set_RadioImage(True, 1)
    .set_RadioImage(False, 2)
End With

The following C# sample changes the default icon for the cells of radio type:

axGrid1.set_RadioImage(true, 1);
axGrid1.set_RadioImage(false, 2);

The following VFP sample changes the default icon for the cells of radio type:

with thisform.Grid1
	local sT, sCR
	sCR = chr(13) + chr(10)
	sT = "RadioImage(True) = 1"+ sCR
	sT = sT + "RadioImage(False) = 2"+ sCR
	.Template = sT
endwith

The VFP considers the RadioImage call as being a call for an array, so an error occurs if the method is called directly, so we built a template string that we pass to the Template property