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

Home » Public Forums » archive » General purpose structure editor?
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: General purpose structure editor? [message #14431 is a reply to message #14387] Fri, 05 March 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Michael Asten (masten@mail.earth.monash.edu.au) writes:

> Well well.
>
> Seems its been done. The idl routine XVAREDIT is one of rsi's best
> kept secrets.

I'm sorry. I don't wish to offend anyone here, least of all
RSI. But every program I have ever seen that uses the table
widget (and this includes XVAREDIT) is an abomination.

I just tried it again to be certain that it is not old
prejudices getting in the way of progress. When I run your
example program, for example, all the columns titles are
stacked up on top of one another because the columns don't
size themselves to fit their titles, they size themselves
to fit their contents. Which pretty much means you can't
read the column headers at all.

Ok, I can reach up there with my mouse and interactively
resize the column header so I can read it. But I have to
do this for EVERY friggin column! Now I can read my
columns, so I at least know what I am editing. (Never
mind now that I can't resize the widget, so that the
space I have to work with at this point is about as
wide as a single column. I'll use the helpfully provided
slider bar to quickly locate which of the--what--20 columns
I want to edit.)

So now I select the cell I want to edit. It gets highlighted.
I hit a key to edit it. ..... Nothing.

Must have done something wrong. Read the newsgroup article
again. Humm. "Double click" to edit. Try that. Ok, double
clicking selects the *number* in the cell instead of the
cell. I see. Try to edit that. .... Still nothing. Humm.
This doesn't work like any cell editor I've ever used. Still,
must be a way or they wouldn't put the damn thing out there.

Etc., etc., etc. And so it goes.

I eventually get a damn number to change, but I have no
idea WHY!

And I'm asking myself, "If I were a person writing a program
for someone who was going to pay me for the program, would
I ever, EVER put something like this in it?" And I've got to
tell you, that if anyone ever wrote a program like this for me
and wanted me to pay for it...well, it would be the last program
they ever wrote for me.

I don't know why I'm so crotchety this morning. Posting this
article can't do anything but get me in trouble. But someone
has got to hear the truth about this table widget.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: autocorrelation routine...
Next Topic: IDL reader for medical images

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

Current Time: Fri Oct 10 19:18:29 PDT 2025

Total time taken to generate the page: 1.35953 seconds