Method globalCustomUIs

From Ribbon Commander Documentation
Revision as of 22:11, 14 March 2013 by Rxdff15551 bb53 (Talk | contribs) (Remarks)

Jump to: navigation, search

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

  1. The default rxCustomUI of the session (see rxCustomUI.defaultInstance) is a read-only member of the collection (i.e. it can't be removed)
  2. rxCustomUI objects are added to the collection via method rxCustomUI.create when DispatchScope_global is used.
  3. You can look-up rxCustomUI object in the collection by contextId (see Examples).

Examples

VBA

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI
  3. Set myCustomUI = rxCustomUI.defaultInstance

C#

  1. // Cache a reference to the default rxCustomUI of this session
  2. rxCustomUI myCustomUI = rxCustomUI.defaultInstance

VB.NET

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance

C++

  1.