search for: id_drives_box

Displaying 1 result from an estimated 1 matches for "id_drives_box".

2004 May 24
9
Combo Box
....0. >I found to my surprise that this method is actually working, but only in the >example code that comes with wxRuby one-click install for Windows. @combo.get_label seems to work for me. See sample code below. HTH, Assaph ----- CODE ----- require ''wxruby'' include Wx ID_DRIVES_BOX = 1 ID_BTN1 = 2 class TestFrame < Frame def initialize super(nil, -1, "Test App") dlgSizer = BoxSizer.new(VERTICAL) drives = `subst`.split("\n").collect {|d| md = d.match(/(.:).* => .*\\(.*)/) "#{md.captures[0]...