octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44690] Callback execution of an 'edit' uicont


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44690] Callback execution of an 'edit' uicontrol
Date: Wed, 01 Apr 2015 16:57:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

URL:
  <http://savannah.gnu.org/bugs/?44690>

                 Summary: Callback execution of an 'edit' uicontrol
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Wed 01 Apr 2015 04:57:42 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In the code below, the callback is executed only after changing the content of
the String and pressing Return, ie the callback will not be executed by just
clicking in the box and pressing Return, or the second time you press Return
after having modified the content of the box. In contrast, MATLAB executes the
callback whenever Return is pressed while the uicontrol is the current
object.


F = figure ();
H = uicontrol(F, "Style","edit",...
      "String","Default",...
      "callback","disp(get(gcbo,'String'))");





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]