From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Edit Text Box: Fixed Value
Date: Tue, 15 Jun 2010 08:43:08 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 11
Message-ID: <hv7ees$hsq$>
References: <hv6cmo$q7r$> <hv6d7k$spr$> <hv6ftt$e6o$> <hv6sqd$t4v$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1276591388 18330 (15 Jun 2010 08:43:08 GMT)
NNTP-Posting-Date: Tue, 15 Jun 2010 08:43:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: comp.soft-sys.matlab:644991

"Matt Fig" <> wrote in message <hv6sqd$t4v$>...
> I am not sure what you mean by "border" color.  If you mean the black line of a box around the editbox, then I do not think this is a settable property using plain MATLAB.  I have seen the use of frame uicontrols to hide this.  For example:

This can easily be done at the Java level, though. First download the FindJObj utility from the File Exchange, and then:

hEditbox = uicontrol('style','edit',...);
jEditbox = findjobj(hEditbox);
jEditbox.setBorder([]);   % or: set(jEditbox,'Border',[])

Yair Altman