Selecting an object from within code.

 

I am writing a script that creates an object on a chart window.  I would like the object to be "selected" when it's created so that it can easily be moved and changed as needed.  I have set the options on the program so that all created objects are "selected"; nonetheless, all the created objects created with the script remain unselected and require manual selection in order to alter them.  Does anyone know of a way around this problem?  Would much appreciate it.


Thanx,

frlax

 
no
Reason: