comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » cw_form widget offset
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cw_form widget offset [message #91387] Wed, 08 July 2015 01:22 Go to next message
Moritz Fischer is currently offline  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
Re: cw_form widget offset [message #91388 is a reply to message #91387] Wed, 08 July 2015 01:51 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
hi mo,

In my wmb_lib I've got something called wmb_input_form which I use quite a lot. You might find it more flexible than cw_form. you can find the library at http://www.github.com/superchromix

cheers
Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re. scale bar & north arrow availability
Next Topic: READF: Input conversion error.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:39:28 PDT 2025

Total time taken to generate the page: 0.00422 seconds