cw_form widget offset [message #91387] |
Wed, 08 July 2015 01:22  |
Moritz Fischer
Messages: 32 Registered: June 2013
|
Member |
|
|
Hi Folks!
I'm using the CW widget in what the idl-help calls a "modal manner",
like so:
c = CW_FORM('0, BUTTON, Hello!, QUIT')
This would create a window at the top left screen corner.
Is there a way to alter this behaviour without creating my own base widget?
For the moment, I have modified the cw_form source to accept X- and
YOFFSET keywords and pass them to the base widget creation in line 583
(IDL 8.1); but I'd prefer a solution that also works on other idl
installations.
Thanks,
mo
|
|
|
|