Displaying 2 results from an estimated 2 matches for "id_btn1".
Did you mean:
id_btn2
2004 May 24
9
Combo Box
...o 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]} (#{md.capt...
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,