HOW TO

Change the default size of the Identify window

Last Published: April 25, 2020

Summary

This article shows how to modify the View.Identify system script to change the default size of the Identify window.

Procedure



  1. Open a new Script window.

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.

  2. Click the Load System Script button.
    [O-Image] Load System Script
  3. Select View.Identify from the Script Manager and click OK.
  4. Find the line "p = theView.GetDisplay.ReturnUserPoint" (it is near the beginning of the script). Paste the following code after that line.

    Code:
    myIDWin=IdentifyWin.The
    myIDWin.Resize(400,400) 'experiment with the pixel parameters.

    Note:
    You can increase or decrease the size of the window by specifying larger or smaller numbers in the Resize parameter. The first number is the width of the box and the second is the height.

  5. Click the Compile button.
    [O-Image] Script compile button
  6. Rename the script View.Identify.

    A. Select Properties from the Script menu.
    B. Type in a new name in the Name field.
    C. Click OK.

Article ID:000002755

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