From: Jorian on 8 Mar 2010 08:27 trancemissionxxi(a)gmail.com wrote in message <179ee769-09fd-40fe-ac13-54c515a6c8b5(a)o40g2000prn.googlegroups.com>... > On Jan 23, 8:15=A0pm, Walter Roberson <rober...(a)hushmail.com> wrote: > > Matt Fig wrote: > > > You could do something like this, but I really think there must be a be= > tter way to do what you want. =A0 > > > tx =3D uicontrol('sty','ed','str','toomany','call','set(gcbo,''string''= > ,''toomany'')') > > > Now this the text can be highlighted, but if changed it will change rig= > ht back when return > > > is hit or another uicontrol is selected. http://www.mathworks.com/matlabcentral/newsreader/view_thread/243030 > > However, there is a well-known limitation with edit boxes, that if you ar= > e editing > > and then you click on the figure instead of pressing return or on another= > uicontrol, > > then the callback will not be called but the changed text will still be s= > hown. http://forums.adobe.com/message/2642616 > > In order to do what the original poster wants without this possibility, t= > he original > > poster will (according to what I have read) work at the java level, proba= > bly by > > starting with a uicontrol and modifying the methods that that particular = > control > > uses. I believe the relevant code had been shown in the past; if I were t= > o search > > for it, I would start by examining Yair Altman's old postings. http://forums.adobe.com/people/Paydayloan > > -- > > .signature note: I am now avoiding replying to unclear or ambiguous posti= > ngs. > > Please review questions before posting them. Be specific. Use examples of= > what you mean, > > of what you don't mean. Specify boundary conditions, and data classes and= > value > > relationships -- what if we scrambled your data or used -Inf, NaN, or com= > plex(rand,rand)? > Thank you for pointing me to Yair Altman's work! I found the solution > to what I originally had in mind on this group. Yes it is! Best regards, Jorian Seokaner! http://www.mathworks.com/matlabcentral/newsreader/author/126323
|
Pages: 1 Prev: Perils of the file exchange Next: While a simulation is running, block parameters? |