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

Home » Public Forums » archive » X-windows locking me out
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
X-windows locking me out [message #32469] Tue, 15 October 2002 01:41 Go to previous message
Ian Dean is currently offline  Ian Dean
Messages: 26
Registered: January 2000
Junior Member
Hi,
This is aimed at the VMS community out there!!!!!

Is there a known bug using the sensitive=0 flag on a widget base under
OpenVMS?
For instance, the following code:

Pro my_test
tlb = widget_base(column=1)
my_base = widget_base(tlb, column=1, sensitive=0)
base2 = widget_base(my_base, row=1)
pulld = widget_droplist(base2, value=['aaa','bbb'])
widget_control, tlb,/realize
widget_control,my_base,/sensitive
end

When I run the above under OpenVMS 7.1 and IDL 5.4 and select the drop-down
list, each item is shown insensitive(greyed out). Surely this should be
sensitive (as per the penunltimate line). Furthermore, at this point the
X-system locks up. I can no longer size the screen, close it, minimise it.
All I can do is reboot - not exactly desirable.

Further investigation indicates that the software is expecting me to make a
selection, but this is not possible because they are greyed out. Hence the
systems is stuck on waiting for an event that can never occur.

I believe this is only a problem with VMS, as the same code runs as expected
on NT

I CAN work round it by not making my_base insensitive, but all the lower
widgets insensitive. However, in the real code, there is a large structure
of widgets (base,buttons,pull-downs,etc) under this base, and in order to
make them sensitive, I'd need to set each widget to sensitive individually -
messy and time consuming.

I would be grateful for any suggestions.

Regards,
Ian
[Message index]
 
Read Message
Read Message
Previous Topic: jump to end of a text widget
Next Topic: Re: X-windows locking up

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

Current Time: Fri Oct 10 12:17:45 PDT 2025

Total time taken to generate the page: 1.04082 seconds