property Item.ShowPopupAlign as ShowPopupAlignEnum
Retrieves or sets a value that indicates how the item's sub-menu is aligned relative to the parent item.

TypeDescription
ShowPopupAlignEnum A ShowPopupAlignEnum expression that specifies whether the sub-menu is shown down or up to the item
By default, the ShowDown property is exShowPopupAlignDown + exShowPopupAlignRight. Use the ShowDown property to show the sub-menu up to the item. The SubMenu/Items property accesses the collection of Item objects to be shown on the sub-menu.

Is it possible to show the popup bellow to the item, rather than on the right side?

VBA (MS Access, Excell...)

With Ribbon1
	With .Items
		With .Add("Popup",2)
			.ShowPopupAlign = 1
			.ShowPopupArrow = False
			With .Items
				.PopupAppearance = 1
				.Add "Item 1"
				.Add "Item 2"
				.Add "Item 3"
			End With
		End With
	End With
	.Refresh 
End With

VB6

With Ribbon1
	With .Items
		With .Add("Popup",2)
			.ShowPopupAlign = exShowPopupAlignDown
			.ShowPopupArrow = False
			With .Items
				.PopupAppearance = FlatBorder
				.Add "Item 1"
				.Add "Item 2"
				.Add "Item 3"
			End With
		End With
	End With
	.Refresh 
End With

VB.NET

With Exribbon1
	With .Items
		With .Add("Popup",2)
			.ShowPopupAlign = exontrol.EXRIBBONLib.ShowPopupAlignEnum.exShowPopupAlignDown
			.ShowPopupArrow = False
			With .Items
				.PopupAppearance = exontrol.EXRIBBONLib.AppearanceEnum.FlatBorder
				.Add("Item 1")
				.Add("Item 2")
				.Add("Item 3")
			End With
		End With
	End With
	.Refresh()
End With

VB.NET for /COM

With AxRibbon1
	With .Items
		With .Add("Popup",2)
			.ShowPopupAlign = EXRIBBONLib.ShowPopupAlignEnum.exShowPopupAlignDown
			.ShowPopupArrow = False
			With .Items
				.PopupAppearance = EXRIBBONLib.AppearanceEnum.FlatBorder
				.Add("Item 1")
				.Add("Item 2")
				.Add("Item 3")
			End With
		End With
	End With
	.Refresh()
End With

C++

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

	#import <ExRibbon.dll>
	using namespace EXRIBBONLib;
*/
EXRIBBONLib::IRibbonPtr spRibbon1 = GetDlgItem(IDC_RIBBON1)->GetControlUnknown();
EXRIBBONLib::IItemsPtr var_Items = spRibbon1->GetItems();
	EXRIBBONLib::IItemPtr var_Item = var_Items->Add(L"Popup",long(2),vtMissing);
		var_Item->PutShowPopupAlign(EXRIBBONLib::exShowPopupAlignDown);
		var_Item->PutShowPopupArrow(VARIANT_FALSE);
		EXRIBBONLib::IItemsPtr var_Items1 = var_Item->GetItems();
			var_Items1->PutPopupAppearance(EXRIBBONLib::FlatBorder);
			var_Items1->Add(L"Item 1",vtMissing,vtMissing);
			var_Items1->Add(L"Item 2",vtMissing,vtMissing);
			var_Items1->Add(L"Item 3",vtMissing,vtMissing);
spRibbon1->Refresh();

C++ Builder

Exribbonlib_tlb::IItemsPtr var_Items = Ribbon1->Items;
	Exribbonlib_tlb::IItemPtr var_Item = var_Items->Add(L"Popup",TVariant(2),TNoParam());
		var_Item->ShowPopupAlign = Exribbonlib_tlb::ShowPopupAlignEnum::exShowPopupAlignDown;
		var_Item->ShowPopupArrow = false;
		Exribbonlib_tlb::IItemsPtr var_Items1 = var_Item->Items;
			var_Items1->PopupAppearance = Exribbonlib_tlb::AppearanceEnum::FlatBorder;
			var_Items1->Add(L"Item 1",TNoParam(),TNoParam());
			var_Items1->Add(L"Item 2",TNoParam(),TNoParam());
			var_Items1->Add(L"Item 3",TNoParam(),TNoParam());
Ribbon1->Refresh();

C#

exontrol.EXRIBBONLib.Items var_Items = exribbon1.Items;
	exontrol.EXRIBBONLib.Item var_Item = var_Items.Add("Popup",2,null);
		var_Item.ShowPopupAlign = exontrol.EXRIBBONLib.ShowPopupAlignEnum.exShowPopupAlignDown;
		var_Item.ShowPopupArrow = false;
		exontrol.EXRIBBONLib.Items var_Items1 = var_Item.Items;
			var_Items1.PopupAppearance = exontrol.EXRIBBONLib.AppearanceEnum.FlatBorder;
			var_Items1.Add("Item 1",null,null);
			var_Items1.Add("Item 2",null,null);
			var_Items1.Add("Item 3",null,null);
exribbon1.Refresh();

JScript/JavaScript

<BODY onload='Init()'>
<OBJECT CLASSID="clsid:DDF58CFA-750F-45E0-8A00-CFBE431702E2" id="Ribbon1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Items = Ribbon1.Items;
		var var_Item = var_Items.Add("Popup",2,null);
			var_Item.ShowPopupAlign = 1;
			var_Item.ShowPopupArrow = false;
			var var_Items1 = var_Item.Items;
				var_Items1.PopupAppearance = 1;
				var_Items1.Add("Item 1",null,null);
				var_Items1.Add("Item 2",null,null);
				var_Items1.Add("Item 3",null,null);
	Ribbon1.Refresh();
}
</SCRIPT>
</BODY>

VBScript

<BODY onload='Init()'>
<OBJECT CLASSID="clsid:DDF58CFA-750F-45E0-8A00-CFBE431702E2" id="Ribbon1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Ribbon1
		With .Items
			With .Add("Popup",2)
				.ShowPopupAlign = 1
				.ShowPopupArrow = False
				With .Items
					.PopupAppearance = 1
					.Add "Item 1"
					.Add "Item 2"
					.Add "Item 3"
				End With
			End With
		End With
		.Refresh 
	End With
End Function
</SCRIPT>
</BODY>

C# for /COM

EXRIBBONLib.Items var_Items = axRibbon1.Items;
	EXRIBBONLib.Item var_Item = var_Items.Add("Popup",2,null);
		var_Item.ShowPopupAlign = EXRIBBONLib.ShowPopupAlignEnum.exShowPopupAlignDown;
		var_Item.ShowPopupArrow = false;
		EXRIBBONLib.Items var_Items1 = var_Item.Items;
			var_Items1.PopupAppearance = EXRIBBONLib.AppearanceEnum.FlatBorder;
			var_Items1.Add("Item 1",null,null);
			var_Items1.Add("Item 2",null,null);
			var_Items1.Add("Item 3",null,null);
axRibbon1.Refresh();

X++ (Dynamics Ax 2009)

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

	super();

	var_Items = exribbon1.Items(); com_Items = var_Items;
		var_Item = com_Items.Add("Popup",COMVariant::createFromInt(2)); com_Item = var_Item;
			com_Item.ShowPopupAlign(1/*exShowPopupAlignDown*/);
			com_Item.ShowPopupArrow(false);
			var_Items1 = com_Item.Items(); com_Items1 = var_Items1;
				com_Items1.PopupAppearance(1/*FlatBorder*/);
				com_Items1.Add("Item 1");
				com_Items1.Add("Item 2");
				com_Items1.Add("Item 3");
	exribbon1.Refresh();
}

Delphi 8 (.NET only)

with AxRibbon1 do
begin
	with Items do
	begin
		with Add('Popup',TObject(2),Nil) do
		begin
			ShowPopupAlign := EXRIBBONLib.ShowPopupAlignEnum.exShowPopupAlignDown;
			ShowPopupArrow := False;
			with Items do
			begin
				PopupAppearance := EXRIBBONLib.AppearanceEnum.FlatBorder;
				Add('Item 1',Nil,Nil);
				Add('Item 2',Nil,Nil);
				Add('Item 3',Nil,Nil);
			end;
		end;
	end;
	Refresh();
end

Delphi (standard)

with Ribbon1 do
begin
	with Items do
	begin
		with Add('Popup',OleVariant(2),Null) do
		begin
			ShowPopupAlign := EXRIBBONLib_TLB.exShowPopupAlignDown;
			ShowPopupArrow := False;
			with Items do
			begin
				PopupAppearance := EXRIBBONLib_TLB.FlatBorder;
				Add('Item 1',Null,Null);
				Add('Item 2',Null,Null);
				Add('Item 3',Null,Null);
			end;
		end;
	end;
	Refresh();
end

VFP

with thisform.Ribbon1
	with .Items
		with .Add("Popup",2)
			.ShowPopupAlign = 1
			.ShowPopupArrow = .F.
			with .Items
				.PopupAppearance = 1
				.Add("Item 1")
				.Add("Item 2")
				.Add("Item 3")
			endwith
		endwith
	endwith
	.Refresh
endwith

dBASE Plus

local oRibbon,var_Item,var_Items,var_Items1

oRibbon = form.Activex1.nativeObject
var_Items = oRibbon.Items
	var_Item = var_Items.Add("Popup",2)
		var_Item.ShowPopupAlign = 1
		var_Item.ShowPopupArrow = false
		var_Items1 = var_Item.Items
			var_Items1.PopupAppearance = 1
			var_Items1.Add("Item 1")
			var_Items1.Add("Item 2")
			var_Items1.Add("Item 3")
oRibbon.Refresh()

XBasic (Alpha Five)

Dim oRibbon as P
Dim var_Item as P
Dim var_Items as P
Dim var_Items1 as P

oRibbon = topparent:CONTROL_ACTIVEX1.activex
var_Items = oRibbon.Items
	var_Item = var_Items.Add("Popup",2)
		var_Item.ShowPopupAlign = 1
		var_Item.ShowPopupArrow = .f.
		var_Items1 = var_Item.Items
			var_Items1.PopupAppearance = 1
			var_Items1.Add("Item 1")
			var_Items1.Add("Item 2")
			var_Items1.Add("Item 3")
oRibbon.Refresh()

Visual Objects

local var_Item as IItem
local var_Items,var_Items1 as IItems

var_Items := oDCOCX_Exontrol1:Items
	var_Item := var_Items:Add("Popup",2,nil)
		var_Item:ShowPopupAlign := exShowPopupAlignDown
		var_Item:ShowPopupArrow := false
		var_Items1 := var_Item:Items
			var_Items1:PopupAppearance := FlatBorder
			var_Items1:Add("Item 1",nil,nil)
			var_Items1:Add("Item 2",nil,nil)
			var_Items1:Add("Item 3",nil,nil)
oDCOCX_Exontrol1:Refresh()

PowerBuilder

OleObject oRibbon,var_Item,var_Items,var_Items1

oRibbon = ole_1.Object
var_Items = oRibbon.Items
	var_Item = var_Items.Add("Popup",2)
		var_Item.ShowPopupAlign = 1
		var_Item.ShowPopupArrow = false
		var_Items1 = var_Item.Items
			var_Items1.PopupAppearance = 1
			var_Items1.Add("Item 1")
			var_Items1.Add("Item 2")
			var_Items1.Add("Item 3")
oRibbon.Refresh()

Visual DataFlex

Procedure OnCreate
	Forward Send OnCreate
	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 "Popup" 2 Nothing to voItem
		Handle hoItem
		Get Create (RefClass(cComItem)) to hoItem
		Set pvComObject of hoItem to voItem
			Set ComShowPopupAlign of hoItem to OLEexShowPopupAlignDown
			Set ComShowPopupArrow of hoItem to False
			Variant voItems1
			Get ComItems of hoItem to voItems1
			Handle hoItems1
			Get Create (RefClass(cComItems)) to hoItems1
			Set pvComObject of hoItems1 to voItems1
				Set ComPopupAppearance of hoItems1 to OLEFlatBorder
				Get ComAdd of hoItems1 "Item 1" Nothing Nothing to Nothing
				Get ComAdd of hoItems1 "Item 2" Nothing Nothing to Nothing
				Get ComAdd of hoItems1 "Item 3" Nothing Nothing to Nothing
			Send Destroy to hoItems1
		Send Destroy to hoItem
	Send Destroy to hoItems
	Send ComRefresh
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,oItems1
	LOCAL oRibbon

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

	oRibbon := XbpActiveXControl():new( oForm:drawingArea )
	oRibbon:CLSID  := "Exontrol.Ribbon.1" /*{DDF58CFA-750F-45E0-8A00-CFBE431702E2}*/
	oRibbon:create(,, {10,60},{610,370} )

		oItems := oRibbon:Items()
			oItem := oItems:Add("Popup",2)
				oItem:ShowPopupAlign := 1/*exShowPopupAlignDown*/
				oItem:ShowPopupArrow := .F.
				oItems1 := oItem:Items()
					oItems1:PopupAppearance := 1/*FlatBorder*/
					oItems1:Add("Item 1")
					oItems1:Add("Item 2")
					oItems1:Add("Item 3")
		oRibbon:Refresh()

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