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

Home » Public Forums » archive » Widget_Table specifying Days_of_Week or Months
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 specifying Days_of_Week or Months [message #43191] Wed, 16 March 2005 16:01
Sobwom is currently offline  Sobwom
Messages: 2
Registered: March 2005
Junior Member
Hi,

Have the Days_of_Week or Months keywords with Widget_Table been fixed
in 6.1?
I have tried it with 5.2, 5.5, and 6.0, but only 5.2 works correctly

Test:

months = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L']
days = ['zero', 'one', 'two', 'three', 'four', 'five', 'six']
format = ['(C(CDwA))', '(C(CMoA))', '(C(CDI))', '(C(CYI5))']
data = [0, 0, 0, 0]
base = Widget_Base()
table = Widget_Table(base, Format=format, Days_of_Week=days, $
Months=months, value=data)
Widget_Control, base, /realize

Result:
It should have a row with (as in 5.2): two, A, 1, -4713
Instead, it has a row with (5.5 & 6.0): Mon, Jan, 1, -4713
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Irregular data... IDLgrContour vs. contour
Next Topic: slider event - drag or arrow?

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

Current Time: Wed Oct 08 16:01:31 PDT 2025

Total time taken to generate the page: 0.00594 seconds