|
Re: Place cursor programatically in draw widget? [message #69100 is a reply to message #68810] |
Mon, 21 December 2009 11:52  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
j.coenia@gmail.com wites:
> Yeah, TVCRS won't work for object graphics windows. One hack is to
> use a 1x1 WIDGET_BASE containing 1x1 WIDGET_DRAW, realized on top of
> the object graphics window offset to where you want the cursor to be,
> then TVCRS the cursor onto that tiny window before destroying it (and
> possibly re-setting focus). It works well, actually
Really!? I would have thought that solution too
ugly to even comtemplate. :-)
Cheers,
David
P.S. I might try adding that as a method to one
of my draw widget objects.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|