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

Home » Public Forums » archive » Widget Table slider not hiding when small table[2,2] is given
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
Widget Table slider not hiding when small table[2,2] is given [message #69567] Thu, 21 January 2010 05:08
kira is currently offline  kira
Messages: 1
Registered: January 2010
Junior Member
Hi Friends,

I have a problem in using the widget table.

My aim is to remove the slider bars since it is not required when data
size is small (can be seen inside the small table)

It is mentioned in IDL HELP for Widget_Table as
" If the width or height specified is less than the size of the table,
scroll bars are added automatically. "

But the data i have given is 2*2 data and there should be no x & y
slider bars ..
But it is showing the slider bars always even if the xwidth=2/
yheight=2

The source code is attached......
############################################################ ######
pro WID_BASE_0, GROUP_LEADER=wGroup, _EXTRA=_VWBExtra_


WID_BASE_0 = Widget_Base( GROUP_LEADER=wGroup, UNAME='WID_BASE_0' $
,TITLE='IDL_cg',XPAD=3 ,YPAD=3,XOFFSET=5 ,YOFFSET=5)

V = [[1,2], [3,4]]

WID_TABLE_0 = Widget_Table(WID_BASE_0, UNAME='WID_TABLE_0' $
,TAB_MODE=1 ,XOFFSET=15 ,YOFFSET=26 $ ;XSIZE-Width of table, YSIZE-
Height of table
, ALIGNMENT=1, VALUE=V) ;,XSIZE=2,YSIZE=2

Widget_Control, /REALIZE, WID_BASE_0

XManager, 'WID_BASE_0', WID_BASE_0, /NO_BLOCK

end

############################################################ ######


I want to know whether this is an IDL related issue or can be solved
by checking the arguments to widget_table

Please respond ...


Thanks & Regards,
Kira
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Local Maxima of 2D array
Next Topic: Version Control

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

Current Time: Wed Oct 08 11:32:10 PDT 2025

Total time taken to generate the page: 0.00470 seconds