Displaying 19 results from an estimated 19 matches similar to: "wxRichTextCtrl not Working through wxFormBuilder"
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi
I''m trying to follow the tutorial on xrcise at
http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise
But I keep getting the following error when I try to run the example;
tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for
#<CaseChangeFrame:0x2d610f8> (NoMethodError)
        from tutorial.rb:28:in `new''
        from
2006 Apr 29
1
can i alter the _form.rhtml without have troubles to validat
hello my name is reynaldo
and i have a problem
i alter the _form.rhtml to display a select option in the place a simple 
text_box, and the application work very well, but in the moment that i 
apply a validation in the model  i get a error.
the code is the next
in the controller:
  def new
    @catelemento = Catelemento.new
    @komandancias = Catcomandancia.find(:all)
  end
in the
2008 Mar 07
9
copy & paste event
hi. now I have problem about copy and paste text in my application I
make copy and paste button in toolbar and I have fuction of them but I
don''t know how to make it can copy only selection text and paste into
other textCtrl. see my picture for more info. thank you :)
Attachments:
http://www.ruby-forum.com/attachment/1526/untitled.JPG
-- 
Posted via http://www.ruby-forum.com/.
2011 Jan 05
3
WINEPREFIX - some questions
hi there.
I hope this is the right place for asking this.
After reading through the information about WINEPREFIX in the FAQ and the User Manual, I've still got some questions left:
I (hypotetically) want to create a new clean wine-environment, install the winetricks d3dx9 package into it, and then run three applications in it. Would the following commands be the right way to do it?
Code:
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/.
2010 Aug 23
4
Segmentation Fault
Once more, with feeling.
I''m trying to implement using xrc_replace so as to use a RichTextCtrl in
a form created by FormBuilder. The problem is that I can''t even create a
RichTextCtrl. When I try to, I get a segmentation fault.
I''ve attached the files that are causing this. I''m running wxRuby on a
box running an up-to-date PCLinuxOS distro. I''ve
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2009 Mar 19
6
xrc file and WxGrid
Has anyone any experience with using a XRC file that setsup a Wx::Grid?
I''m using wxFormBuilder, in which I setup a grid in a boxsizer, with
column names and all. But when I render it via Ruby the grid is just a
small empty gray box, and I can''t seem to manipulate it at all. I
tried adding columns, resizing columns, populating it with data, etc.
but still nothing.
I look at the
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that
consists of a very simple wxWizard. I have exported the
project to XRC and am trying to get XRCise to process it.
XRCise produces the message "Cannot create wrapper for
subclass of wxWizard".
Is this a symptom of the XPath parsing in Ruby 1.8.6 bug?
Or am I doing something wrong?
My env:
ruby 1.8.6 (2007-03-13 patchlevel 0)
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby.
The biggest problem I''m having is getting the layout of a screen right.
Right now, I have a dialog with several controls on it. With one
exception, it looks good. I''m using wxFormBuilder and Xrcise to do the
generation. I''m using nested box sizers to try to get  things into the
right
2009 Aug 10
2
xrcise -o test.rb ui.xrc
I built a small form in wxFormBuilder. In cmd i wrote
xrcise -o test.rb ui.xrc
output was
C:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/lib/wx_sugar/xrc/outputter.rb:4
6:in `clean_id_attr_readers'': undefined method `each'' for
#<String:0xba5850> (No
MethodError)
        from (erb):16:in `output''
        from C:/ruby/lib/ruby/1.9.1/erb.rb:753:in `eval''
2007 Apr 13
3
version numbering
Hi
Seems a lot of people are still downloading 0.6.0 and using it - my 
concern is that people will find it buggy and incomplete and give up on 
wxruby altogether.
I think we''ve got wxruby2 to a point where it''s all round better than 
the old series, even though it''s not release quality, and we''re missing 
the DnD classes.
So for the next release,
2009 Nov 23
1
xrcise not working
Hi.  I''m back. Unfortunately I can''t get xrcise working.  Here is the
sample xrc file and the resulting error messages:
=============== TestWxFb.xrc =========================================
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
   
2006 Oct 20
1
Good news on WxWidgets 2.8.0
Hi
Just tried out the most recent dev release (2.7.1) of WxWidgets.
The first bit of good news is that 2.7.1 has lots of attractive new 
widgets, such as RichTextCtrl, pickers, and the AUI. This is an add-on 
that''s now been merged into the core, and provides sophisticated things 
like dockable toolbars, perspective layouts, semi-transparent dragging 
etc. They seem to have brushed up
2007 Sep 26
7
development status, 1.9.2
Hi all
Just a quick update on recent SVN activity:
* added Sound and CollapsiblePane classes
* added the XRC tool to wxSugar
* fixed some XRC bugs in Window
* added syntax sugar for event handlers and list-like controls
* added some missing methods in Sizer
Sean - I''m away for about 10 days from this weekend, and I''m thinking of 
doing a 1.9.2 release in the next day or two.
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
Hi,
I''m teaching myself to use wxRuby and DialogBlocks to create a front end
for a Ruby program I wrote. And I''m hopelessly stuck!
In DialogBlocks (or indeed wxFormBuilder, which gives me the same
problem) I can create a widget, give that widget a new id and class name
(in the example I created below, text_box1 and CaseChangeTextCtrl1,
respectively), and then add a module which
2009 Apr 03
2
Problem with spacing
I''m having the devil''s time trying to get things laid out correctly.
I''ve attached a screenshot so that you can get an idea of what I''m
seeing. I''ve got a very unattractive space under the two combo boxes,
and another one under the buttons. I don''t understand how to reduce
this.
I know it''s impossible to guess what idiocy I might have
2006 Jan 06
3
Flashing Window in Quicken
Wine version: all 
 
Linux version: Fedora 3 and Gentoo 2.6.14 
 
Symptom: When running quicken, opening the "Split costs" 
dialog causes the program to go into an infinite loop, 
flashingthe window to proper size then minimized and back 
again, as fast as the display will allow. 
 
It appears that the window is opened and the program 
attempts to flash the caret but access is denied to