Method globalCustomUIs
From Ribbon Commander Documentation
Description
Static method that returns the collection of rxCustomUIs with global dispatch in the current session.
Parameters
Parameter Name
|
Parameter Type
|
Default Value
|
Description
|
Remarks
- The default rxCustomUI of the session (see rxCustomUI.defaultInstance) is a read-only member of the collection (i.e. it can't be removed)
- rxCustomUI objects are added to the collection via method rxCustomUI.create when DispatchScope_global is used.
- You can look-up rxCustomUI object in the collection by contextId (see Examples).
Examples
VBA
' Cache a reference to the default rxCustomUI of this session
Dim myCustomUI As rxCustomUI
Set myCustomUI = rxCustomUI.defaultInstance
C#
// Cache a reference to the default rxCustomUI of this session
rxCustomUI myCustomUI = rxCustomUI.defaultInstance
VB.NET
' Cache a reference to the default rxCustomUI of this session
Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance