Bob,
Try the following command. It works whether using the $widget "command in
VTCL or referncing the Tn object directly through something like
.top40.tab41...
.top40.tab41 select 1
The 1 is the page index (beginning with 0). The book [incr] Tcl/Tk from the
GROUND UP documents the Tabbed Notebook megawidget as consisting of a
Notebook widget and Tab Selector widget packed into a canvas. The select
method is actually a Notebook method inherited by the TN mega widget.
Give it a shot, if it doesn't work, contact me at [EMAIL PROTECTED] I did
a quick little test and was able to create a procedure that a button called
that would take me to the next page. I'm hoping that that emulates what
you're trying to do...
Mitch
-----Original Message-----
From: [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: vtcl-user digest, Vol 1 #275 - 2 msgs
Send vtcl-user mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/vtcl-user
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtcl-user digest..."
Today's Topics:
1. notebook widget (Bartis, Robert M (Bob))
2. Upgrading Version of Integrated 'tkcon' (Kenneth Jacker)
--__--__--
Message: 1
From: "Bartis, Robert M (Bob)" <[EMAIL PROTECTED]>
To: "'vtcl'" <[EMAIL PROTECTED]>
Date: Sat, 23 Feb 2002 18:29:23 -0500
Subject: [vtcl-user] notebook widget
I am using a notebook widget in one of my designs. The book consists of
three pages. On page 2 I have button that I would like to do some work and
when completed raise page 3. It would appear the command to do this is
fairly straight forward, but I can't seem to get it to work.
The command I'm using is as follows
.top40.tab42 raise page3
When this didn't work I thought I would simply try to see what the command
returned when a page index wasn't provided. In either case I get the same
error message. Any ideas?
bad option "raise": should be one of...
.top40.tab42 add ?arg arg ...?
.top40.tab42 cget option
.top40.tab42 childsite ?arg arg ...?
.top40.tab42 component ?name? ?arg arg ...?
.top40.tab42 config ?option? ?arg arg ...?
.top40.tab42 configure ?arg arg ...?
.top40.tab42 delete ?arg arg ...?
.top40.tab42 index ?arg arg ...?
.top40.tab42 insert index ?arg arg ...?
.top40.tab42 isa className
.top40.tab42 next
.top40.tab42 pageconfigure index ?arg arg ...?
.top40.tab42 prev
.top40.tab42 select index
.top40.tab42 view ?arg arg ...?
while executing
".top40.tab42 raise"
(procedure "createScript" line 167)
Robert M. Bartis
Lucent Technologies *
Room HO 1C-413A
* 732.949.4565
* [EMAIL PROTECTED]
--__--__--
Message: 2
To: vTcl <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
From: Kenneth Jacker <[EMAIL PROTECTED]>
Date: 24 Feb 2002 14:02:04 -0500
Subject: [vtcl-user] Upgrading Version of Integrated 'tkcon'
I have noticed that /vtcl/ produces the integrated /tkcon/ via the
file at:
../vtcl-1.6.0a1/lib/tkcon.tcl
I'd sure like to use the newest version of /tkcon/ (v2.3) from within
/vtcl/. The above "tkcon.tcl" file has both /vtcl/ and /tkcon/
things, so I'm hesitant to just replace it with the v2.3 /tkcon/ source.
Is it possible to somehow use the newer version of /tkcon/?
Thanks,
-Kenneth
--__--__--
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user
End of vtcl-user Digest
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user