Updating existing IDL table widget [message #31382] |
Wed, 10 July 2002 03:05 |
heather.williams
Messages: 3 Registered: July 2002
|
Junior Member |
|
|
I have set up an IDL table widget within a larger IDL widget, like so:
ColLabels = SINDGEN(5) & ColLabels(0) = STRING('Slice location') &
ColLabels(1)= STRING('Slice number') &
ColLabels(2)=STRING('Concentration') & ColLabels(3)=STRING('Approx.
dia') & ColLabels(4)=STRING('Vol. sig.> bg')
RoiDataTable = WIDGET_TABLE(roiBaseG, ALIGNMENT=1,
COLUMN_LABELS=ColLabels, COLUMN_WIDTHS=(width*1.5)/5, EDITABLE=1,
RESIZEABLE_COLUMNS=1, RESIZEABLE_ROWS=1, SCR_XSIZE=width*1.5, XSIZE=5,
YSIZE=10)
This table is initially blank, but I then want to add a new row of
data to every time a particular .pro is run, so I can see the results
I have as I go along. I then want to export data within the completed
table in a format which can be read by Microsoft Excel, as I already
have a spreadsheet which does further (graphical) analysis very
nicely.
After several hours of trying various WIDGET CONTROL commands, setting
VALUE equal to an array I then edit, etc. etc. I have been unable to
add any data to this table. Looking at the past mailings, it seems
these problems are not uncommon and many of you recommend avoiding
widget tables altogether. Your advice as to how to display this data
as it is acquired and then export it (with or without the use of
widget table) would be much appreciated.
I look forward to hearing from you!
Heather Williams
Manchester PET Centre, UK
|
|
|