Displaying 3 results from an estimated 3 matches for "lower_bt".
Did you mean:
lower_bh
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
...asses/app.rb:16:in
`run''
from tutorial.rb:27
The relevant ruby code looks like.
# Inherit from the generated base class and set up event handlers
class CaseChangeFrame < TextFrameBase
def initialize
super
evt_button(upper_bt) { text_box.upcase! }
evt_button(lower_bt) { text_box.downcase! }
end
end
I have triple checked that I have given the button widget an Id name of
upper_bt in DialogBlocks
Has anyone come across this before?
Thanks
Tim
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyfo...
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
...</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
<border>5</border>
<object class="wxButton" name="lower_bt">
<label>Lower</label>
</object>
</object>
<object class="sizeritem">
<flag>wxGROW|wxALL</flag>
<border>5</border>
<...
2008 Mar 05
21
wxruby, XRC, DialogBlock
I''ve been trying to figure out the best method for generating GUI''s with
Ruby. I ended up using DialogBlock because it seems like the fastest
way. But not I have to work backwards and have not done this before.
How do I go from the file I generate in DialogBlock to a code in Ruby?
--
Posted via http://www.ruby-forum.com/.