Difference between revisions of "Method defaultInstance"
From Ribbon Commander Documentation
(→Remarks) |
(→Remarks) |
||
Line 7: | Line 7: | ||
== Remarks == | == Remarks == | ||
− | The default [[rxCustomUI]] object is convenient for testing and tutorials. In production code however, it is recommended that custom contexts are created (see [[Method create]] to avoid conflicts with other applications/add-ins. | + | The default [[rxCustomUI]] object is convenient for testing and tutorials. In production code however, it is recommended that custom contexts are created (see [[Method create|rxCustomUI.create]] to avoid conflicts with other applications/add-ins. |
== Examples == | == Examples == |
Revision as of 14:36, 14 March 2013
Description
Static method that returns the default rxCustomUI object of the current session.
Parameters
Parameter Name
|
Parameter Type
|
Default Value
|
Description
|
Remarks
The default rxCustomUI object is convenient for testing and tutorials. In production code however, it is recommended that custom contexts are created (see rxCustomUI.create to avoid conflicts with other applications/add-ins.
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