Rick Macdonald wrote:
>
> On Thu, 23 Apr 1998, Ryan Armstrong wrote:
>
> > listbox <pathname> insert 1 "Line 1" ;
> > should add to the first line of the listbox.
> > When I try it, the listbox command gives an error that the widget
> > already exists. ie. It tries to create.
>
> Should just be
> <pathname> insert 1 "Line 1"
>
> ...RickM...
Thank you
I tried that, but afterwards realised that it had not worked for the
following reason:
When I opened vtcl, all of the toplevels were closed. The toplevel
containing the listbox is different to the one calling for the update to
the list. Because it had not yet been "shown", The vtcl gave an error
<pathname> not a command.
I then clicked show and hide on the top level for the listbox window,
retried and it worked.
Ryan
>
> ---------------------------------------------------------------------------
> To unsubscribe from the Visual Tcl mailing list, please send a message
> to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
> message body (where [EMAIL PROTECTED] is your e-mail address).
--
We are such stuff as dreams are made on, and our
little life is rounded with a sleep.
-The Tempest iv i.148
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).