[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol |
Date: |
Wed, 01 Apr 2015 14:29:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
URL:
<http://savannah.gnu.org/bugs/?44687>
Summary: Properties of a popupmenu uicontrol
Project: GNU Octave
Submitted by: gyom
Submitted on: Wed 01 Apr 2015 02:29:08 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:
Run the following:
F = figure;
H = uicontrol(F,'Style','popupmenu','String',...
{'A','B','C'},'Value',2,'Callback','disp(''cb'');');
get(H,'Value')
It should display 'B' (as 'Value' is 2) but instead displays 'A'.
Furthermore, if you now manually switch it to 'C' (which will display 'cb')
and type this:
set(H,'Value',1)
it will execute the callback as well (and display 'cb') while MATLAB does not
execute a callback when using 'set' programmatically.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44687>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol,
Guillaume <=
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/01
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/01
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, Guillaume, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, Guillaume, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, Guillaume, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/02
- [Octave-bug-tracker] [bug #44687] Properties of a popupmenu uicontrol, John Donoghue, 2015/04/03