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

Home » Public Forums » archive » DYNAMIC_RESIZE Keyword in IDL 5.0.3
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
DYNAMIC_RESIZE Keyword in IDL 5.0.3 [message #10765] Mon, 19 January 1998 00:00
wmn is currently offline  wmn
Messages: 4
Registered: December 1996
Junior Member
Following Testfile gets bigger with every press on the button, it should
behave like this in x direction but it also does it in y direction. This error
doesn't occur in IDL 4. We have a lot of widgets with the Keyword
'DYNAMIC_RESIZE', and they all become bigger and bigger with every action.

I would be very lucky to get a good solution for this problem. Thank you!

pro press_but, event
WIDGET_CONTROL, event.id, GET_VAL = str
WIDGET_CONTROL, event.id, SET_VAL = str(0)+' '
end


pro test_dyn_res
base = WIDGET_BASE(/ROW)
subbase = WIDGET_BASE(base, /FRAME)
button = WIDGET_BUTTON(subbase, VAL = 'Press Here', /DYNAMIC_RESIZE, $
EVENT_PRO = 'press_but')
label = WIDGET_LABEL(subbase, VAL = 'Label1')
subbase2 = WIDGET_BASE(base, /FRAME, /COL)
label2 = WIDGET_LABEL(subbase2, VAL = 'Label2')
WIDGET_CONTROL, base, /REALIZE
XManager, 'test_dyn_res', base
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Message for German Newsgroup Readers
Next Topic: IDL5: Bug in MAP_SET (Rot. cylin.)

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

Current Time: Wed Oct 08 15:54:24 PDT 2025

Total time taken to generate the page: 0.16453 seconds