Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: popup & edit -> all in one
Date: Fri, 1 Aug 2008 14:02:57 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 16
Message-ID: <g6v52h$ie9$1@canopus.cc.umanitoba.ca>
References: <g6uu5e$mv1$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1217599377 18889 192.70.172.160 (1 Aug 2008 14:02:57 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Fri, 1 Aug 2008 14:02:57 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:483099



In article <g6uu5e$mv1$1@fred.mathworks.com>,
Jerzy Nowakowski <j.nowakowski@unina.it> wrote:
>Is it possible to obtain a popup-menu, with editable values?
>The user selects the popup string, but later has a
>possibility to edit it...

If you stick to the Matlab provided functions, you need to
use multiple controls for this; it is fairly easy with a
pop-up and an edit box and a couple of small callbacks.

If, though, it is important to you that this is visually only
a single control, then if you can do it at all, you would have
to work at the Java level.
-- 
  "There is nothing so bad but it can masquerade as moral."
                                              -- Walter Lippmann