Displaying 20 results from an estimated 1000 matches similar to: "Listbox in R"
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
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 "": must be active, anchor, end, @x,y, or a number.
Repaeting
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
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: Departamento de Metodologia Estatística - Métodos Estatísticos
INE -
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"], selected = "A"),
html_options =
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 -
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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 value I selected before)
gui.create.tab.general <-
2002 Nov 06
1
Combo Box Wdget for Tcl/Tk under R
Hi,
I have two questions:
First, does anyone know how to put a combobox inside a GUI made with Tcl/Tk ? I think there isn't a simple way to do this (a command like tkcombobox()!), but is it possible to write a more complex code to achieve this ?
Second, when I put two listboxes in the same window or frame (even in two different toplevel windows), I cannot select things in the two lists
2006 Nov 21
0
[746] trunk/wxruby2/doc/textile/listbox.txtl: Correct ruby method signature for methods that accept an array of strings
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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"
2018 Nov 23
0
Wine release 3.21
The Wine development release 3.21 is now available.
What's new in this release (see below for details):
- Typelib marshaller rewrite using NDR functions.
- Graphics support on recent Android versions.
- Support for memory font resources in DirectWrite.
- Joystick support improvements.
- Various bug fixes.
The source is available from the following locations:
2006 Nov 21
0
[ wxruby-Bugs-6810 ] Wx::ListBox.get_selections does not return selected items
Bugs item #6810, was opened at 2006-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
2006 Nov 23
0
[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 24
0
[757] trunk/wxruby2/samples/bigdemo/wxListBox.rbw: Made presentation of results of ListBox.get_selections clearer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or