Displaying 20 results from an estimated 286 matches for "listbox".
2001 Feb 22
2
Problem with tcltk listbox
Hi!
I've got two problems with listboxes and selection:
I created a listbox, no problem. Then I bind the Button-1 of the mouse to the listbox to start some things by pressing the mousebutton. The proiblem is that as I click a item of the listbox this error occured:
Error in .Tcl(.Tcl.args(...)) : [tcl] bad listbox index "": m...
2006 Jul 07
3
dynamically updating a listbox from another listbox
Hi,
I would like to be able to dynamically (without reloading the page)
change the values from one listbox when a user select items from another
listbox. I have a model ''Sector'' which has_many ''levels'' (and of cours,
''Level'' beyong_to ''sector''). I want to show the user two listboxes with
the sectors and levels. But when a user...
2009 Feb 23
1
Listbox in R
I am trying to display a set of listboxes in a systematic manner.
For instance, I display Listbox 1, let the user pick the parameters of
interest then destroy it.
Now I display Listbox 2....
and so on.
So in essence I would like to create listboxes in a "for -loop".
When I try to loop - all the listboxes are displayed simulta...
2007 Apr 03
1
wxSugar 0.1.15 released
Hi
WxSugar 0.1.15 is now available via gems and download from rubyforge.
This is a minor feature release which adds a couple of new facilities:
* enumerable_controls: treats ListCtrl and ControlWithItems classes,
such as ComboBox, ListBox, CheckListBox as Ruby enumerables
* adds Window#has_style?
The former is meant to give much more rubyish access to the contents of
GUI controls which present the user with a list of item to choose from:
# basic iteration
listbox.each { | i | puts listbox.string(i) }
# iterate with string labels...
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
...x 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>935</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2...
2006 Nov 21
0
[746] trunk/wxruby2/doc/textile/listbox.txtl: Correct ruby method signature for methods that accept an array of strings
...d #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[746] trunk/wxruby2/doc/textile/listbox.txtl: Correct ruby method signature for methods that accept an array of strings</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>746</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt...
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
...#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>756</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-11-24 12:17:06 -0500 (Fri, 24...
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi,
I have created a multiple selection listbox with
rails, when I try to get the rows selected by user,
rails send back only the first one, how can I get the
other selected rows????
I created the listbox with the following function:
select_tag("form__list1",
options_for_select(["A","B","C","D&quo...
2006 May 11
6
Dynamic data passing thru Rails to Flash
Hi,
I am using Flash Dashboard and 3 sets of listbox.
When i change my first list box say name i need to dynamically change
the second list box and from the second list box when i choose an name i
need to change the content according to this in the third list box.
How can i pass this datas from database in rails.
thanx
g.balaji
--
Posted via...
2018 Nov 23
0
Wine release 3.21
...est for calling function with instance and VARIANT return type.
crypt32: Make sure that the provider supports algorithm of the message being decoded.
crypt32: Make sure that the provider supports the specified public key algorithm.
Gabriel Ivăncescu (29):
comctl32/tests: Add more Listbox tests for ownerdraw styles.
comctl32/tests: Add some tests for LBS_NODATA.
comctl32/tests: Test incompatible styles for LBS_NODATA.
comctl32/listbox: Clear LBS_OWNERDRAWVARIABLE if LBS_OWNERDRAWFIXED is set.
comctl32/listbox: Disable LBS_NODATA if styles are incompatible wit...
2007 Apr 14
0
[966] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Fix methods which don''t need a ''n'' item for arrays in Ruby
...x 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[966] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Fix methods which don''t need a ''n'' item for arrays in Ruby</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>966</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>...
2019 Feb 15
0
Wine release 4.2
...eCertificatePrivateKey should look up certificate in the user's store if not linked to a provider.
wineps.drv: Add stubs for escapes required by Adobe PageMaker.
wineps.drv: PostScript header should be written by StartDoc instead of StartPage.
Gabriel Ivăncescu (28):
comctl32/listbox: Check for out of bounds using the index when painting the item.
comctl32/listbox: Use a helper to expand the item array.
comctl32/listbox: Shrink the item array with resize_storage.
comctl32/listbox: Return proper value for LB_INITSTORAGE.
comctl32/tests: Add tests for LB_I...
2006 Oct 21
0
tcltk: multiple listboxes, selection
Dear list,
I have multiple (BWidget) listboxes in the same toplevel window.
The problem is, if I select (by left clicking) on one of those
listbox elements, the current selection in the *other* listboxes is
cleared!
Anybody knows how I can prevent this?
Here's my code (sorry not complete):
(E.g. If I select an X value, I'd lose the Y...
2007 Nov 15
0
Code for Listbox object bulk adding
Hello!
Attached is a method to bulk add arrays to a list box, when the array
isn''t a string array. Feel free to add it to wxSugar.
Example:
arr = [[Wx::RED, "Red"],[Wx::GREEN, "Green"],[Wx::BLUE, "Blue"]]
listbox.insert_obj_items(arr, "[1]")
...would add 3 list box items with "Red"-"Green"-"Blue"
listbox.insert_obj_items(arr, "[1].length")
...would add 3 list box items with "3"-"5"-"4"
listbox.insert_obj_items(arr, ".leng...
2006 Dec 12
2
tklistbox...
Hi everyone,
I have different listboxes in the same toplevel window.
The problem is, if I select (by left clicking) one of those listbox
elements, the current selection in the other listboxes is cleared!
Anybody knows how I can prevent this?
Thanks,
---------------------------------------------------
Rita Sousa
DME - ME: Departame...
2019 Mar 01
0
Wine release 4.3
...wpcap: Fix compilation with recent pcap/pcap.h versions.
Ethan Lee (3):
xaudio2: Rewrite to use FAudio.
xaudio2: Fix uninitialized variable access (Valgrind).
xaudio2: IXAudio23 needs its own interface, for XAUDIO23_VOICE_SENDS parameters.
Gabriel Ivăncescu (22):
comctl32/listbox: Use a helper to retrieve item height by index.
comctl32/listbox: Use a helper to set item height by index.
comctl32/listbox: Move the item data insertion into a separate function.
comctl32/listbox: Move the item data removal into a separate function.
comctl32/listbox: Imple...
2007 Jul 31
3
country listbox from table
sorry again,
i''m building a registration form, getting stumped on the country
listbox.
any ideas how i could build a listbox for countries, taking it''s content
from a data table?
i''d imagine i''d have to generate a data model for country, fill it in
with all the current ISO spec countries; that i can do.
then tie that data model to the account controller...
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
Hi all,
Here is an excerpt of code (with the new syntax from upcoming wxRuby 1.9.2) :
evt_checklistbox(my_checklist, :on_checklistbox)
evt_listbox(my_checklist, :on_listbox)
evt_listbox(my_list, :on_listbox)
def on_checklistbox(event)
checklist = event.event_object
# puts "listbox - event : item[#{event.int}] checked : #{event.checked?}"
puts "listbox - event : i...
2006 Nov 21
0
[ wxruby-Bugs-6810 ] Wx::ListBox.get_selections does not return selected items
...11-21 22:21
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=6810&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Kevin Smith (qualitycode)
Summary: Wx::ListBox.get_selections does not return selected items
Initial Comment:
Wx::ListBox.get_selections should return an array containing the Integer positions of all the selected items. It is only useful when the widget has been created with the LB_MULTIPLE style.
However, at present, it returns the number of...
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list
boxes with their individual scrollbars. But instead both scrollbars stick to
the same listbox even though they work as they should (scroll individual
listboxes). When I remove all the widgets on top everything works perfectly.
Any help would be highly apprecciated.
ps: all subsequent listboxes and scrollbars work perfectly, the first one
(column 1 of main window) is the only one constantly...