HOW TO

Change the color of ArcExplorer Legend Label Text

Last Published: April 25, 2020

Procedure

As it is currently set up, it is not possible to change the color of the text labels for ArcExplorer's mo2legend.ocx. However, a slight modification will cause the text to be the same as the specified ForeColor.

Solution:

Edit the following line in the LoadLegend sub for the MO2Legend.ctl file:

Code:
'Display the Label
.AutoRedraw = True
.ForeColor = UserControl.ForeColor '<- was f_TextColor

After recompiling the text color can be changed by setting the ForeColor property.

Article ID:000001840

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic