Previous Obsolete IDL Features: The IDLDrawWidget ActiveX Control Next


This functionality is obsolete. It should not be used in new IDL code.

Sharing a Grid Control Array with IDL

VBShare1D demonstrates sharing one dimensional data between Visual Basic and IDL using the SetNamedArray method of the IDLDrawWidget object. The data is presented to the user in a Visual Basic grid control enabling the user to edit the data and see the results in real time. See the following figure.

This example illustrates the following concepts:

.

 

Figure 7-10: VBShare1D

Figure 7-10: VBShare1D

Example Code
See the files located in the examples\docs\ActiveX\VBShare1D directory of the IDL installation directory for example code.

  IDL Online Help (March 06, 2007)