Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!news.cse.psu.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: ButtonDownFcn help
Date: Mon, 29 Oct 2007 18:53:47 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 14
Message-ID: <fg5a7r$4he$1@canopus.cc.umanitoba.ca>
References: <fg555k$j2e$1@fred.mathworks.com> <fg55gj$omr$1@fred.mathworks.com> <fg56qc$f26$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1193684027 4654 192.70.172.160 (29 Oct 2007 18:53:47 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Mon, 29 Oct 2007 18:53:47 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:435123



In article <fg56qc$f26$1@fred.mathworks.com>,
Matt Fig <spamanon@yahoo.com> wrote:
>OOps, upon a more careful reading of the properties,
>ButtonDownFcn does what it is supposed to do.  I would still
>like to either have a left click clear the string or
>initialize the string in a highlighted state so that once
>the user starts typing the default string disappears and the
>new one replaces it, if anyone knows how to do this.

You will have to modify the Java properties for this.

-- 
  "Is there any thing whereof it may be said, See, this is new? It hath
  been already of old time, which was before us."    -- Ecclesiastes