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

Home » Public Forums » archive » Re: Widget Definition from the Event Handler?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Widget Definition from the Event Handler? [message #56334 is a reply to message #55924] Fri, 19 October 2007 06:26 Go to previous message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
Many thanks for that, i've now successfully added rows to my
widget_table using insert_rows in the widget_control routine. I would
now like to extend the widget_table in both directions, that is,
extend the number of rows and the number of columns.

As i understand from the IDL help, a widget_table normally has a /
row_major default set, in which case you can extend the number of
rows, but not the number of columns, as this would require a change in
the structure. By the same token, if you manually set /column_major in
widget_table call, you can increase the number of columns, but not the
number of rows. Might there be a smart way of effectively extending
both the rows and columns of a table?

As there must be so many requirements to effectively increase both
dimensions of a table, i cant help thinking there must be a work
around for this problem. A possible idea might be to create some kind
of widget or possibly a table effectively as row_major, then in the
right most column of each element create a column_major table. This
would effectively do what i need to, effectively increasing both
dimensions of a table.

Could anyone offer any solutions?
Any help would be much appreciated, thank you.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: how to transfer MS-DOS bat file in IDL?
Next Topic: Adding arrays of different dimensions

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

Current Time: Sun Nov 30 20:59:03 PST 2025

Total time taken to generate the page: 1.92731 seconds