search for: btns

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

Did you mean: bins
2008 Sep 06
0
Tab control using FXRuby
...tcode.connect(SEL_COMMAND) do puts "postcode contains #{postcode.value}" main.setPosition(-0, -0) ## scroll back to first field ( it does ) fld1a.setFocus ## focus on first field ( it does NOT ! -> first BUTTON "New" ) end btns= FXHorizontalFrame.new(amain, LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_SUNKEN) # btns new= FXButton.new(btns, "New", :opts => LAYOUT_FILL_X| BUTTON_NORMAL) new.connect(SEL_COMMAND) do |sender, sel, checked| # ## your button press code here ## end # new clear= FXButton.new(btns,"Cle...