Listbox: How do I empty the view in the window
losnations at comcast.net
Sat Sep 27 01:49:16 CEST 2003
Actually I was using the ComboBox but was just asking about the listbox part
of it. I was not aware of the .update() function. I had found a workaround
by deleting out the entryfield directly, but the update may be a cleaner
"Michael Peuser" <mpeuser at web.de> wrote in message
news:bl1q2f$mlh$04$1 at news.t-online.com...
> "Marc" <mnations at airmail.net> schrieb im Newsbeitrag
> news:4378fa6f.0309251330.2162e494 at posting.google.com...
> > Hi all,
> > I can't figure this out. I want the ability to delete an item in a
> > listbox and leave the window area blank, like it is when the listbox
> > is first created and nothing selected.
> > Right now the following is happening. If I simply delete the item in
> > the listbox, that item will stay in the view window until another item
> > is selected. Or I can select an item in the listbox as active and then
> > view it, but I don't want to do that.
> Widgets are nor always aware whether their displayed view has been
> You can force this by:
> > I'm using the listbox to allow a user to either enter or select on
> > option. As a result, I need the ability to clear out the window so
> > they can type in their own selection.
> > Can someone tell me how to do this?
> Is this another question? Have you considered to use some MPW widget as
More information about the Python-list