Previous Object Programming: Selecting Objects Next

A Selection Example

An example procedure named sel_obj.pro creates two views, places models within the views, and provides an interface to let you choose between selecting models or visualization objects. A mouse click in one of the views will update a label that identifies the current selections.


Example Code
This example, sel_obj.pro, is included in the examples/doc/objects subdirectory of the IDL distribution. Enter the .EDIT sel_obj.pro at the IDL command line to open the file in an IDL Editor window or type sel_obj to run the example.

  IDL Online Help (March 06, 2007)