property RadialMenu.BrowseItem as Item
Specifies the item being browsed.

TypeDescription
Item An Item object being browsed.
The BrowseItem property indicates the item being currently browsed. The AllowBrowseItem property specifies that the a new item gets browsed once the user clicks item. The BrowseItem event notifies when a new item has been selected / browsed. When the user selects a new item, it is displayed on the parent portion of the control, while its content / children is displayed around. The Item property returns an Item based on its index or caption.

The following samples show how you can programmatically browses for a new item:

VBA (MS Access, Excell...)

With RadialMenu1
	.Expanded = True
	.ShadowColor = -1
	.InflateItems = "-8*dpi"
	.InflateCustom = .InflateItems
	.ItemsBackColor = RGB(240,240,240)
	.RadialLineColor(4) = RGB(0,0,0)
	.RadialLineStyle(4) = 2
	.RadialLineSize(4) = 3
	With .Items
		With .Add("Slider")
			.BrowseType = 2
			.BrowseCustomType = 16
		End With
	End With
	.BrowseItem = .Items.Item("Slider")
End With

VB6

With RadialMenu1
	.Expanded = True
	.ShadowColor = -1
	.InflateItems = "-8*dpi"
	.InflateCustom = .InflateItems
	.ItemsBackColor = RGB(240,240,240)
	.RadialLineColor(exRadialCustomBorder) = RGB(0,0,0)
	.RadialLineStyle(exRadialCustomBorder) = exRadialLineDot
	.RadialLineSize(exRadialCustomBorder) = 3
	With .Items
		With .Add("Slider")
			.BrowseType = exBrowseItemCustom
			.BrowseCustomType = exRadialCustomSlider
		End With
	End With
	.BrowseItem = .Items.Item("Slider")
End With

VB.NET

With Exradialmenu1
	.Expanded = True
	.ShadowColor32 = -1
	.InflateItems = "-8*dpi"
	.InflateCustom = .InflateItems
	.ItemsBackColor = Color.FromArgb(240,240,240)
	.set_RadialLineColor(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,Color.FromArgb(0,0,0))
	.set_RadialLineStyle(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,exontrol.EXRADIALMENULib.RadialLineStyleEnum.exRadialLineDot)
	.set_RadialLineSize(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,3)
	With .Items
		With .Add("Slider")
			.BrowseType = exontrol.EXRADIALMENULib.BrowseItemEnum.exBrowseItemCustom
			.BrowseCustomType = exontrol.EXRADIALMENULib.RadialCustomTypeEnum.exRadialCustomSlider
		End With
	End With
	.BrowseItem = .Items.Item("Slider")
End With

VB.NET for /COM

With AxRadialMenu1
	.Expanded = True
	.GetOcx().ShadowColor = -1
	.InflateItems = "-8*dpi"
	.InflateCustom = .InflateItems
	.ItemsBackColor = RGB(240,240,240)
	.set_RadialLineColor(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,0)
	.set_RadialLineStyle(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,EXRADIALMENULib.RadialLineStyleEnum.exRadialLineDot)
	.set_RadialLineSize(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,3)
	With .Items
		With .Add("Slider")
			.BrowseType = EXRADIALMENULib.BrowseItemEnum.exBrowseItemCustom
			.BrowseCustomType = EXRADIALMENULib.RadialCustomTypeEnum.exRadialCustomSlider
		End With
	End With
	.BrowseItem = .Items.Item("Slider")
End With

C++

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXRADIALMENULib' for the library: 'ExRadialMenu 1.0 Control Library'

	#import <ExRadialMenu.dll>
	using namespace EXRADIALMENULib;
*/
EXRADIALMENULib::IRadialMenuPtr spRadialMenu1 = GetDlgItem(IDC_RADIALMENU1)->GetControlUnknown();
spRadialMenu1->PutExpanded(VARIANT_TRUE);
spRadialMenu1->PutShadowColor(-1);
spRadialMenu1->PutInflateItems(L"-8*dpi");
spRadialMenu1->PutInflateCustom(spRadialMenu1->GetInflateItems());
spRadialMenu1->PutItemsBackColor(RGB(240,240,240));
spRadialMenu1->PutRadialLineColor(EXRADIALMENULib::exRadialCustomBorder,RGB(0,0,0));
spRadialMenu1->PutRadialLineStyle(EXRADIALMENULib::exRadialCustomBorder,EXRADIALMENULib::exRadialLineDot);
spRadialMenu1->PutRadialLineSize(EXRADIALMENULib::exRadialCustomBorder,3);
EXRADIALMENULib::IItemsPtr var_Items = spRadialMenu1->GetItems();
	EXRADIALMENULib::IItemPtr var_Item = var_Items->Add(L"Slider",vtMissing,vtMissing);
		var_Item->PutBrowseType(EXRADIALMENULib::exBrowseItemCustom);
		var_Item->PutBrowseCustomType(EXRADIALMENULib::exRadialCustomSlider);
spRadialMenu1->PutBrowseItem(((EXRADIALMENULib::IItemPtr)(spRadialMenu1->GetItems()->GetItem("Slider"))));

C++ Builder

RadialMenu1->Expanded = true;
RadialMenu1->ShadowColor = -1;
RadialMenu1->InflateItems = L"-8*dpi";
RadialMenu1->InflateCustom = RadialMenu1->InflateItems;
RadialMenu1->ItemsBackColor = RGB(240,240,240);
RadialMenu1->RadialLineColor[Exradialmenulib_tlb::RadialLineEnum::exRadialCustomBorder] = RGB(0,0,0);
RadialMenu1->RadialLineStyle[Exradialmenulib_tlb::RadialLineEnum::exRadialCustomBorder] = Exradialmenulib_tlb::RadialLineStyleEnum::exRadialLineDot;
RadialMenu1->RadialLineSize[Exradialmenulib_tlb::RadialLineEnum::exRadialCustomBorder] = 3;
Exradialmenulib_tlb::IItemsPtr var_Items = RadialMenu1->Items;
	Exradialmenulib_tlb::IItemPtr var_Item = var_Items->Add(L"Slider",TNoParam(),TNoParam());
		var_Item->BrowseType = Exradialmenulib_tlb::BrowseItemEnum::exBrowseItemCustom;
		var_Item->BrowseCustomType = Exradialmenulib_tlb::RadialCustomTypeEnum::exRadialCustomSlider;
RadialMenu1->BrowseItem = RadialMenu1->Items->get_Item(TVariant("Slider"));

C#

exradialmenu1.Expanded = true;
exradialmenu1.ShadowColor32 = -1;
exradialmenu1.InflateItems = "-8*dpi";
exradialmenu1.InflateCustom = exradialmenu1.InflateItems;
exradialmenu1.ItemsBackColor = Color.FromArgb(240,240,240);
exradialmenu1.set_RadialLineColor(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,Color.FromArgb(0,0,0));
exradialmenu1.set_RadialLineStyle(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,exontrol.EXRADIALMENULib.RadialLineStyleEnum.exRadialLineDot);
exradialmenu1.set_RadialLineSize(exontrol.EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,3);
exontrol.EXRADIALMENULib.Items var_Items = exradialmenu1.Items;
	exontrol.EXRADIALMENULib.Item var_Item = var_Items.Add("Slider",null,null);
		var_Item.BrowseType = exontrol.EXRADIALMENULib.BrowseItemEnum.exBrowseItemCustom;
		var_Item.BrowseCustomType = exontrol.EXRADIALMENULib.RadialCustomTypeEnum.exRadialCustomSlider;
exradialmenu1.BrowseItem = (exradialmenu1.Items["Slider"] as exontrol.EXRADIALMENULib.Item);

JScript/JavaScript

<BODY onload="Init()">
<OBJECT CLASSID="clsid:1604BDE1-D48F-4D3F-B51B-49C0CD74236C" id="RadialMenu1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	RadialMenu1.Expanded = true;
	RadialMenu1.ShadowColor = -1;
	RadialMenu1.InflateItems = "-8*dpi";
	RadialMenu1.InflateCustom = RadialMenu1.InflateItems;
	RadialMenu1.ItemsBackColor = 15790320;
	RadialMenu1.RadialLineColor(4) = 0;
	RadialMenu1.RadialLineStyle(4) = 2;
	RadialMenu1.RadialLineSize(4) = 3;
	var var_Items = RadialMenu1.Items;
		var var_Item = var_Items.Add("Slider",null,null);
			var_Item.BrowseType = 2;
			var_Item.BrowseCustomType = 16;
	RadialMenu1.BrowseItem = RadialMenu1.Items.Item("Slider");
}
</SCRIPT>
</BODY>

VBScript

<BODY onload="Init()">
<OBJECT CLASSID="clsid:1604BDE1-D48F-4D3F-B51B-49C0CD74236C" id="RadialMenu1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With RadialMenu1
		.Expanded = True
		.ShadowColor = -1
		.InflateItems = "-8*dpi"
		.InflateCustom = .InflateItems
		.ItemsBackColor = RGB(240,240,240)
		.RadialLineColor(4) = RGB(0,0,0)
		.RadialLineStyle(4) = 2
		.RadialLineSize(4) = 3
		With .Items
			With .Add("Slider")
				.BrowseType = 2
				.BrowseCustomType = 16
			End With
		End With
		.BrowseItem = .Items.Item("Slider")
	End With
End Function
</SCRIPT>
</BODY>

C# for /COM

axRadialMenu1.Expanded = true;
(axRadialMenu1.GetOcx() as EXRADIALMENULib.RadialMenu).ShadowColor = -1;
axRadialMenu1.InflateItems = "-8*dpi";
axRadialMenu1.InflateCustom = axRadialMenu1.InflateItems;
axRadialMenu1.ItemsBackColor = Color.FromArgb(240,240,240);
axRadialMenu1.set_RadialLineColor(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0)));
axRadialMenu1.set_RadialLineStyle(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,EXRADIALMENULib.RadialLineStyleEnum.exRadialLineDot);
axRadialMenu1.set_RadialLineSize(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,3);
EXRADIALMENULib.Items var_Items = axRadialMenu1.Items;
	EXRADIALMENULib.Item var_Item = var_Items.Add("Slider",null,null);
		var_Item.BrowseType = EXRADIALMENULib.BrowseItemEnum.exBrowseItemCustom;
		var_Item.BrowseCustomType = EXRADIALMENULib.RadialCustomTypeEnum.exRadialCustomSlider;
axRadialMenu1.BrowseItem = (axRadialMenu1.Items["Slider"] as EXRADIALMENULib.Item);

X++ (Dynamics Ax 2009)

public void init()
{
	COM com_Item,com_Items;
	anytype var_Item,var_Items;
	;

	super();

	exradialmenu1.Expanded(true);
	exradialmenu1.ShadowColor(-1);
	exradialmenu1.InflateItems("-8*dpi");
	exradialmenu1.InflateCustom(exradialmenu1.InflateItems());
	exradialmenu1.ItemsBackColor(WinApi::RGB2int(240,240,240));
	exradialmenu1.RadialLineColor(4/*exRadialCustomBorder*/,WinApi::RGB2int(0,0,0));
	exradialmenu1.RadialLineStyle(4/*exRadialCustomBorder*/,2/*exRadialLineDot*/);
	exradialmenu1.RadialLineSize(4/*exRadialCustomBorder*/,3);
	var_Items = exradialmenu1.Items(); com_Items = var_Items;
		var_Item = com_Items.Add("Slider"); com_Item = var_Item;
			com_Item.BrowseType(2/*exBrowseItemCustom*/);
			com_Item.BrowseCustomType(16/*exRadialCustomSlider*/);
	exradialmenu1.BrowseItem(exradialmenu1.Items().Item("Slider"));
}

Delphi 8 (.NET only)

with AxRadialMenu1 do
begin
	Expanded := True;
	(GetOcx() as EXRADIALMENULib.RadialMenu).ShadowColor := $ffffffff;
	InflateItems := '-8*dpi';
	InflateCustom := InflateItems;
	ItemsBackColor := Color.FromArgb(240,240,240);
	set_RadialLineColor(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,$0);
	set_RadialLineStyle(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,EXRADIALMENULib.RadialLineStyleEnum.exRadialLineDot);
	set_RadialLineSize(EXRADIALMENULib.RadialLineEnum.exRadialCustomBorder,3);
	with Items do
	begin
		with Add('Slider',Nil,Nil) do
		begin
			BrowseType := EXRADIALMENULib.BrowseItemEnum.exBrowseItemCustom;
			BrowseCustomType := EXRADIALMENULib.RadialCustomTypeEnum.exRadialCustomSlider;
		end;
	end;
	BrowseItem := (Items.Item['Slider'] as EXRADIALMENULib.Item);
end

Delphi (standard)

with RadialMenu1 do
begin
	Expanded := True;
	ShadowColor := $ffffffff;
	InflateItems := '-8*dpi';
	InflateCustom := InflateItems;
	ItemsBackColor := RGB(240,240,240);
	RadialLineColor[EXRADIALMENULib_TLB.exRadialCustomBorder] := $0;
	RadialLineStyle[EXRADIALMENULib_TLB.exRadialCustomBorder] := EXRADIALMENULib_TLB.exRadialLineDot;
	RadialLineSize[EXRADIALMENULib_TLB.exRadialCustomBorder] := 3;
	with Items do
	begin
		with Add('Slider',Null,Null) do
		begin
			BrowseType := EXRADIALMENULib_TLB.exBrowseItemCustom;
			BrowseCustomType := EXRADIALMENULib_TLB.exRadialCustomSlider;
		end;
	end;
	BrowseItem := (IUnknown(Items.Item['Slider']) as EXRADIALMENULib_TLB.Item);
end

VFP

with thisform.RadialMenu1
	.Expanded = .T.
	.ShadowColor = -1
	.InflateItems = "-8*dpi"
	.InflateCustom = .InflateItems
	.ItemsBackColor = RGB(240,240,240)
	.Object.RadialLineColor(4) = RGB(0,0,0)
	.Object.RadialLineStyle(4) = 2
	.Object.RadialLineSize(4) = 3
	with .Items
		with .Add("Slider")
			.BrowseType = 2
			.BrowseCustomType = 16
		endwith
	endwith
	.BrowseItem = .Items.Item("Slider")
endwith

dBASE Plus

local oRadialMenu,var_Item,var_Items

oRadialMenu = form.EXRADIALMENUACTIVEXCONTROL1.nativeObject
oRadialMenu.Expanded = true
oRadialMenu.ShadowColor = -1
oRadialMenu.InflateItems = "-8*dpi"
oRadialMenu.InflateCustom = oRadialMenu.InflateItems
oRadialMenu.ItemsBackColor = 0xf0f0f0
oRadialMenu.Template = [RadialLineColor(4) = 0] // oRadialMenu.RadialLineColor(4) = 0x0
oRadialMenu.Template = [RadialLineStyle(4) = 2] // oRadialMenu.RadialLineStyle(4) = 2
oRadialMenu.Template = [RadialLineSize(4) = 3] // oRadialMenu.RadialLineSize(4) = 3
var_Items = oRadialMenu.Items
	var_Item = var_Items.Add("Slider")
		var_Item.BrowseType = 2
		var_Item.BrowseCustomType = 16
oRadialMenu.BrowseItem = oRadialMenu.Items.Item("Slider")

XBasic (Alpha Five)

Dim oRadialMenu as P
Dim var_Item as P
Dim var_Items as P

oRadialMenu = topparent:CONTROL_ACTIVEX1.activex
oRadialMenu.Expanded = .t.
oRadialMenu.ShadowColor = -1
oRadialMenu.InflateItems = "-8*dpi"
oRadialMenu.InflateCustom = oRadialMenu.InflateItems
oRadialMenu.ItemsBackColor = 15790320
oRadialMenu.Template = "RadialLineColor(4) = 0" // oRadialMenu.RadialLineColor(4) = 0
oRadialMenu.Template = "RadialLineStyle(4) = 2" // oRadialMenu.RadialLineStyle(4) = 2
oRadialMenu.Template = "RadialLineSize(4) = 3" // oRadialMenu.RadialLineSize(4) = 3
var_Items = oRadialMenu.Items
	var_Item = var_Items.Add("Slider")
		var_Item.BrowseType = 2
		var_Item.BrowseCustomType = 16
oRadialMenu.BrowseItem = oRadialMenu.Items.Item("Slider")

Visual Objects

local var_Item as IItem
local var_Items as IItems

oDCOCX_Exontrol1:Expanded := true
oDCOCX_Exontrol1:ShadowColor := -1
oDCOCX_Exontrol1:InflateItems := "-8*dpi"
oDCOCX_Exontrol1:InflateCustom := oDCOCX_Exontrol1:InflateItems
oDCOCX_Exontrol1:ItemsBackColor := RGB(240,240,240)
oDCOCX_Exontrol1:[RadialLineColor,exRadialCustomBorder] := RGB(0,0,0)
oDCOCX_Exontrol1:[RadialLineStyle,exRadialCustomBorder] := exRadialLineDot
oDCOCX_Exontrol1:[RadialLineSize,exRadialCustomBorder] := 3
var_Items := oDCOCX_Exontrol1:Items
	var_Item := var_Items:Add("Slider",nil,nil)
		var_Item:BrowseType := exBrowseItemCustom
		var_Item:BrowseCustomType := exRadialCustomSlider
oDCOCX_Exontrol1:BrowseItem := IItem{oDCOCX_Exontrol1:Items:[Item,"Slider"]}

PowerBuilder

OleObject oRadialMenu,var_Item,var_Items

oRadialMenu = ole_1.Object
oRadialMenu.Expanded = true
oRadialMenu.ShadowColor = -1
oRadialMenu.InflateItems = "-8*dpi"
oRadialMenu.InflateCustom = oRadialMenu.InflateItems
oRadialMenu.ItemsBackColor = RGB(240,240,240)
oRadialMenu.RadialLineColor(4,RGB(0,0,0))
oRadialMenu.RadialLineStyle(4,2)
oRadialMenu.RadialLineSize(4,3)
var_Items = oRadialMenu.Items
	var_Item = var_Items.Add("Slider")
		var_Item.BrowseType = 2
		var_Item.BrowseCustomType = 16
oRadialMenu.BrowseItem = oRadialMenu.Items.Item("Slider")

Visual DataFlex

Procedure OnCreate
	Forward Send OnCreate
	Set ComExpanded to True
	Set ComShadowColor to -1
	Set ComInflateItems to "-8*dpi"
	Set ComInflateCustom to (ComInflateItems(Self))
	Set ComItemsBackColor to (RGB(240,240,240))
	Set ComRadialLineColor OLEexRadialCustomBorder to (RGB(0,0,0))
	Set ComRadialLineStyle OLEexRadialCustomBorder to OLEexRadialLineDot
	Set ComRadialLineSize OLEexRadialCustomBorder to 3
	Variant voItems
	Get ComItems to voItems
	Handle hoItems
	Get Create (RefClass(cComItems)) to hoItems
	Set pvComObject of hoItems to voItems
		Variant voItem
		Get ComAdd of hoItems "Slider" Nothing Nothing to voItem
		Handle hoItem
		Get Create (RefClass(cComItem)) to hoItem
		Set pvComObject of hoItem to voItem
			Set ComBrowseType of hoItem to OLEexBrowseItemCustom
			Set ComBrowseCustomType of hoItem to OLEexRadialCustomSlider
		Send Destroy to hoItem
	Send Destroy to hoItems
	Variant v
	Variant voItems1
	Get ComItems to voItems1
	Handle hoItems1
	Get Create (RefClass(cComItems)) to hoItems1
	Set pvComObject of hoItems1 to voItems1
		Get ComItem of hoItems1 "Slider" to v
	Send Destroy to hoItems1
	Set ComBrowseItem to v
End_Procedure

XBase++

#include "AppEvent.ch"
#include "ActiveX.ch"

PROCEDURE Main
 	LOCAL oForm
	LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL
	LOCAL oItem
	LOCAL oItems
	LOCAL oRadialMenu

	oForm := XbpDialog():new( AppDesktop() )
	oForm:drawingArea:clipChildren := .T.
	oForm:create( ,,{100,100}, {640,480},, .F. )
	oForm:close  := {|| PostAppEvent( xbeP_Quit )}

	oRadialMenu := XbpActiveXControl():new( oForm:drawingArea )
	oRadialMenu:CLSID  := "Exontrol.RadialMenu.1" /*{1604BDE1-D48F-4D3F-B51B-49C0CD74236C}*/
	oRadialMenu:create(,, {10,60},{610,370} )

		oRadialMenu:Expanded := .T.
		oRadialMenu:SetProperty("ShadowColor",-1)
		oRadialMenu:InflateItems := "-8*dpi"
		oRadialMenu:InflateCustom := oRadialMenu:InflateItems()
		oRadialMenu:SetProperty("ItemsBackColor",AutomationTranslateColor( GraMakeRGBColor  ( { 240,240,240 } )  , .F. ))
		oRadialMenu:SetProperty("RadialLineColor",4/*exRadialCustomBorder*/,AutomationTranslateColor( GraMakeRGBColor  ( { 0,0,0 } )  , .F. ))
		oRadialMenu:SetProperty("RadialLineStyle",4/*exRadialCustomBorder*/,2/*exRadialLineDot*/)
		oRadialMenu:SetProperty("RadialLineSize",4/*exRadialCustomBorder*/,3)
		oItems := oRadialMenu:Items()
			oItem := oItems:Add("Slider")
				oItem:BrowseType := 2/*exBrowseItemCustom*/
				oItem:BrowseCustomType := 16/*exRadialCustomSlider*/
		oRadialMenu:BrowseItem := oRadialMenu:Items:Item("Slider")

	oForm:Show()
	DO WHILE nEvent != xbeP_Quit
		nEvent := AppEvent( @mp1, @mp2, @oXbp )
		oXbp:handleEvent( nEvent, mp1, mp2 )
	ENDDO 
RETURN