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

Home » Public Forums » archive » Removing scroll bars from table widgets
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
Removing scroll bars from table widgets [message #56847] Mon, 19 November 2007 09:30 Go to next message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
Every time I make a widget table, scroll bars appear to be added where
they are not necessary. Would anyone have an idea as to how i remove
the scroll bars, so the widget looks more compact and respectable.
Thank you for any help you can give.
Re: Removing scroll bars from table widgets [message #56952 is a reply to message #56847] Tue, 27 November 2007 10:33 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
2d@onetel.com writes:

> Well, i suppose this means there are two bugs affecting widget table
> scroll bars and not one. Yes i am familiar with the strange behaviour
> you are referring to with the shifting table. These are most
> unattractive features if you are trying to develop decent GUIs. Might
> others have advice on scroll bars and the like?

When I complained at a recent IDL user's group meeting
about what an abomination the Table Widget is, I was
greeted with much sympathy. Apparently, the entire
widget suite, especially on Motif, is a millstone around
the neck of IDL. I was assured that if I kept my maintenance
dollars flowing I would be rewarded, eventually, with a
set of widgets that worked in a cross-platform manner
and in a way I would be happy with. I'm not necessarily
holding my breath, but I do see a ray of hope. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Removing scroll bars from table widgets [message #56953 is a reply to message #56847] Tue, 27 November 2007 09:47 Go to previous messageGo to next message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
Well, i suppose this means there are two bugs affecting widget table
scroll bars and not one. Yes i am familiar with the strange behaviour
you are referring to with the shifting table. These are most
unattractive features if you are trying to develop decent GUIs. Might
others have advice on scroll bars and the like?

Many thanks, D
Re: Removing scroll bars from table widgets [message #56956 is a reply to message #56847] Mon, 26 November 2007 12:11 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
2d@onetel.com wrote:
> According to the IDL help, addition of scroll bars to widgets is not
> the default. However, every time I create a widget, these annoying
> scroll bars appear and take up valuable and unnecessary space on the
> monitor. It also says that for a widget table, if the table is bigger
> than the default 6 rows/columns then scroll bars are added, which is
> clearly not that case, as scroll bars appear with even small tables of
> 2 rows/columns. IDL help also claims scroll bars are not added if the
> table size is declared explicitly through the XSIZE/YSIZE keywords.
> However, regardless of any declaration of size I still can't get rid
> of these scroll bars. Admittedly, scroll bars are a nice idea when you
> need them. However, when unnecessary, they only add to clutter in a
> GUI. Anyone any ideas how I can de-clutter my widgets by removing the
> scroll bars.
>
> Many thanks, D.


I thought as you do that they were annoying... until I saw that unwanted
feature: I have a 2 columns wide table, explicit size etc. They are
displayed properly, but if I start editing the value on the 2nd column,
the view is shifted to the right, so this 2nd column goes to the left,
and I have a blank column appearing (I should say "a white area of the
size of a column")... the easy way to get back to my original view is to
use the scroll bar...

Jean
Re: Removing scroll bars from table widgets [message #56957 is a reply to message #56847] Mon, 26 November 2007 11:51 Go to previous messageGo to next message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
According to the IDL help, addition of scroll bars to widgets is not
the default. However, every time I create a widget, these annoying
scroll bars appear and take up valuable and unnecessary space on the
monitor. It also says that for a widget table, if the table is bigger
than the default 6 rows/columns then scroll bars are added, which is
clearly not that case, as scroll bars appear with even small tables of
2 rows/columns. IDL help also claims scroll bars are not added if the
table size is declared explicitly through the XSIZE/YSIZE keywords.
However, regardless of any declaration of size I still can't get rid
of these scroll bars. Admittedly, scroll bars are a nice idea when you
need them. However, when unnecessary, they only add to clutter in a
GUI. Anyone any ideas how I can de-clutter my widgets by removing the
scroll bars.

Many thanks, D.
Re: Removing scroll bars from table widgets [message #57056 is a reply to message #56847] Fri, 30 November 2007 12:15 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
2d@onetel.com wrote:
> According to IDL help, setting the key word /SCROLL to TRUE brings in
> the scroll bars. Would it not be a simple matter of setting /SCROLL to
> FALSE to remove scroll bars? Would anyone know how to do this?

it should be scroll = 0, since /keyword is the same as keyword=1 ...

Jean

>
> Is there absolutely no other way of removing the scroll bars in widget
> tables.
>
> I thought widget tables might be a good method of inputting data until
> i realised you cant get rid of scroll bars. How might the property
> sheet widget compare with the table widget for the inputting data?
>
> Can you remove the scroll bars from property sheet widgets?
>
> Grateful for any help,
> D.
Re: Removing scroll bars from table widgets [message #57057 is a reply to message #56952] Fri, 30 November 2007 11:59 Go to previous messageGo to next message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
According to IDL help, setting the key word /SCROLL to TRUE brings in
the scroll bars. Would it not be a simple matter of setting /SCROLL to
FALSE to remove scroll bars? Would anyone know how to do this?

Is there absolutely no other way of removing the scroll bars in widget
tables.

I thought widget tables might be a good method of inputting data until
i realised you cant get rid of scroll bars. How might the property
sheet widget compare with the table widget for the inputting data?

Can you remove the scroll bars from property sheet widgets?

Grateful for any help,
D.
Re: Removing scroll bars from table widgets [message #57102 is a reply to message #56847] Mon, 03 December 2007 10:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
2d@onetel.com writes:

> Hmmm, i put scroll = 0 in the main body of the program and as a
> widget_table call argument but to no avail. Is there just no way to
> get rid of these annoying scroll bars?

I've heard that the .300 Remington Ultra Mag or a .30-378 Weatherby
is effective. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Removing scroll bars from table widgets [message #57103 is a reply to message #57056] Mon, 03 December 2007 10:34 Go to previous message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
> it should be scroll = 0, since /keyword is the same as keyword=1 ...
>
> Jean

Hmmm, i put scroll = 0 in the main body of the program and as a
widget_table call argument but to no avail. Is there just no way to
get rid of these annoying scroll bars?
Regards, D
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: reshaping figure
Next Topic: Re: IDL 7 on LINUX Question

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

Current Time: Wed Oct 08 15:12:46 PDT 2025

Total time taken to generate the page: 0.00704 seconds