[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45848] uicontrol listbox does not move the li
From: |
jsh |
Subject: |
[Octave-bug-tracker] [bug #45848] uicontrol listbox does not move the list/scrollbar when a selection is made programatically |
Date: |
Mon, 31 Aug 2015 07:21:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
URL:
<http://savannah.gnu.org/bugs/?45848>
Summary: uicontrol listbox does not move the list/scrollbar
when a selection is made programatically
Project: GNU Octave
Submitted by: jsh
Submitted on: Mon 31 Aug 2015 07:21:58 AM GMT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
In Matlab an uicontrol listbox always tries to show the selected entry. If a
listbox is made and a value is selected like in the example, the bottom of the
visible listbox will show the selected entry
h = uicontrol('style','listbox','string','','units','normalized','position',[0
0 1 1]);
set( h, 'string', strread(num2str(1:100),'%s'), 'value', 50 )
If an earlier selection is made, the visible area of the listbox will move to
show the top entry selected
set( h, 'value', 5 )
It seems it is not programatically possible yet to move the listbox visible
area.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45848>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #45848] uicontrol listbox does not move the list/scrollbar when a selection is made programatically,
jsh <=