comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Trouble running IDL3 widget programme on IDL4/IDL5

Trouble running IDL3 widget programme on IDL4/IDL5
type: item
description: Dear IDLers, I wrote a widget application that ran finw under IDL3. Under IDL4 and IDL5 it brings up the main form, some of the widgets across the top are active, but the other never appear. If I click my QUIT button, the application closes properly, so I know it registers properly. I wrote to ask IDL and after I was told (after three mails) to read IDL4.01 Help "A note about widget Sizing", which didn't help me. Whether that's because I'm stupid or not doesn't worry too much, I just want the application to run (again). Be very glad for some help. Here's the code for generating the widgets, hope it isn't too much. (Needless to say I think IDL could have done a better job of explaining changes required to make IDL3 applications run under IDL4 and IDL5). BLME = WIDGET_BASE(GROUP_LEADER=Group, $ ROW=1, $ MAP=1, $ TITLE='HERA-e: Beam Loss Monitor Data Analysis', $ UVALUE='BLME') USEROPTIONSBASE = WIDGET_BASE(BLME, $ ROW=1, $ FRAME=1, $ MAP=1, $ TITLE='USER OPTIONS BASE', $ UVALUE='USEROPTIONSBASE', $ XSIZE=400, $ YSIZE=700) HELPBASE = WIDGET_BASE(USEROPTIONSBASE, $ ROW=1, $ MAP=1, $ TITLE='HELP BASE:', $ UVALUE='HELPBASE', $ XSIZE=387) MAINBUTTONSGROUP=CW_BGROUP( HELPBASE, ['QUIT','HELP'], $ ROW=1,$ EXCLUSIVE=0, $ UVALUE='MAINBUTTONSGROUP', $ XSIZE=387) SYMBOLINFOBASE = WIDGET_BASE(USEROPTIONSBASE, $ COLUMN=1, $ FRAME=1, $ MAP=1, $ TITLE='SYMBOL INFO BASE:', $ UVALUE='SYMBOLINFOBASE', $ XSIZE=387) SYMBOLINFOBASELABEL = WIDGET_LABEL( SYMBOLINFOBASE, $ UVALUE='SYMBOLINFOBASELABEL', $ VALUE='SYMBOLS USED:') SYMBOLTXT = WIDGET_TEXT( SYMBOLINFOBASE,VALUE=SymbolText, $ UVALUE='SYMBOLTXT', $ YSIZE=8) PRINTBASE = WIDGET_BASE(USEROPTIONSBASE, $ COLUMN=1, $ FRAME=1, $ MAP=1, $ TITLE='PRINT HANDLING:', $ UVALUE='PRINTBASE') PRINTBASELABEL = WIDGET_LABEL( PRINTBASE, $ UVALUE='PRINTBASELABEL', $ VALUE='PRINTING:') PRINTCOMMANDFIELD = CW_FIELD( PRINTBASE,VALUE=PrintCommand, $ ROW=1, $ STRING=1, $ RETURN_EVENTS=1, $ TITLE='Command:', $ UVALUE='PRINTCOMMANDFIELD', $ XSIZE=27) PRINTFILE…
creator: Darren Kelly
date: 1998-09-14T07:00:00-00:00