similar to: TextCtrl width

Displaying 20 results from an estimated 500 matches similar to: "TextCtrl width"

2006 Feb 19
2
tab traversal
It seems that tab traversal between TextCtrl widgets doesn''t work by default. How do you enable that? -- R. Mark Volkmann Partner, Object Computing, Inc.
2006 Apr 12
6
*OUTPUT/*INPUT typemaps
Hi Have been looking again at SWIG output pointer parameters, as: http://www.swig.org/Doc1.3/Ruby.html#Ruby_nn32 The problem is, whenever I tried to include the SWIG/Ruby ''typemaps.i'' file, it threw loads of errors. A bit more investigation pinned the problem down to some secondary files that typemaps.i includes to map ''special'' types like File. So I tried
2006 Apr 06
3
automated testing
Is there a way to automate testing of fxruby applications ... something like Jemmy for Java Swing? -- R. Mark Volkmann Object Computing, Inc.
2006 Mar 28
11
setting widget attributes
I''m trying to set attributes of widgets in subclasses like the following. class PersonTable < FXTable def initialize(owner) options = TABLE_COL_SIZEABLE super(owner, nil, 0, options) visibleRows = 5 ... end end visibleRows doesn''t get set. However, if I do this self.visibleRows = 5 then it does. Shouldn''t it work without "self."?
2006 Feb 19
2
sizer support for colspan > 1?
I see that GridBagSizer is not yet supported by wxRuby. Is there an alternative to specifying that a widget spans more than one column? I don''t see a way to do that in FlexGridSizer. -- R. Mark Volkmann Partner, Object Computing, Inc.
2005 Aug 21
8
validates_numericality_of
As far as I can tell "numericality" is not a word. Maybe this method should be renamed. -- R. Mark Volkmann Partner, Object Computing, Inc.
2008 Jan 14
4
Focus on TextCtrl
Hello. I have a problem with set focus on a TextCtrl in wxRuby. I must do something like Login TextCtrl and set focus on a next TextCtrl by clicking Tab key. -- Posted via http://www.ruby-forum.com/.
2007 Apr 18
5
Turning off spell checker in TextCtrl
Hi, I''m running WxRuby2 on Mac OS X. Something is spell checking the text that I put into it; words it doesn''t recognize get an annoying red line under them. How can I turn the spell checker off? Thanks, Paul
2007 Mar 21
4
Bug in TextCtrl constructor
Howdy, I''ve uncovered a bug in the constructor for TextCtrl (originally uncovered while using WxSugar but it appears to apply to WxRuby itself as well). Here''s the output from irb: # ------ irb(main):001:0> require ''wx''; irb(main):002:0* ctl =
2006 Feb 17
7
Re: Problem building wxRuby: htmlproc.h not found
Hi, Has this problem been resolved? I encountered the same problem on my FC3 system with wxGTK-2.4.2 and wxruby-0.6. Thanks. Stephen [Wxruby-users] Re: Problem building wxRuby: htmlproc.h not found *Nick* devel at nicreations.com
2007 Jun 17
2
Wx::TextCtrl and wxMSW
Hey Alex, Found a solution to the problem that was occuring with wxMSW and the Wx::TextCtrl, have yet to verify that this will work in linux, but my little trick to the matter, was simple, thanks to the things that are provided with both Wx::TextCtrl, and Wx::Window classes. I''m providing this bit of information for thoes who may have trouble with dealing with Wx::TextCtrl, _AND_ have
2007 Aug 11
2
TextCtrl.new
Salut alex, j''utilise ce bout de code pour faire apparaître mon texte dans ma fenêtre: @dou = TextCtrl.new(@s, -1, "", Point.new(10, 70), Size.new(410, 210), TE_RICH | TE_MULTILINE) @dou << "je vais à l''école" le problème c''est que l''encodage ne marche pas.Je ne peut pas mettre l''accentuation.J''ai essayer pas mal de
2008 Jun 02
1
Add TextCtrl to toolbar
Hi, How can I add a textctrl to a toolbar? I tried toolbar.add_control(TextCtrl.new(self, ID_ANY)), but that returns false and the control gets placed wherever. Thanks
2009 Aug 14
1
TextCtrl performance for large files
I''ve been trying to speed up my program, which uses a TextCtrl, for large files by getting rid of code using line numbers. However, it seems that just using the get_range method is slowing down my program for large files. I don''t know whether I''m doing something wrong or there''s a way to access the text without significant slowing in large files. If anyone
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the patches from teh last message are applied, to enable *INPUT etc typemaps. Roy - though the function works correctly when called from Ruby, it still causes a crash when called internally when clicking on a Wx::Grid cell. Saw your message on SWIG mailing list, hopefully someone there can help out. alex
2005 Nov 25
2
Wx::SystemSettings mark II
hi patches and files for Wx::SystemSettings, with get_font included in swig file and a sample that doesn''t segfault wxruby. CVS patches: RubyConstants.i, type_map.i CVS new: system_settings.rb (sample) SystemSettings.i (SWIG file) The sample should allow you to view the available information about system colours, fonts and metrics (eg cursor size, display size) in a Grid.
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0 Since this generates a wxFont that''s not initialized to nil it fails when calling into wxWindows. Anyone have a suggestion?
2005 Nov 26
1
new textctrl sample
Hi An updated textctrl sample, with rich text and a bit more commenting and current ruby style. I haven''t done as patch b/c it''s from scratch. I''m working on something similar to show off Wxruby''s new unicode features. It all works pretty smoothly, with a few patches to typemap.i to make string return values work with multibyte characters (I''ll
2005 Oct 06
9
Grid.GetTextExtent
Wow. Look what SWIG does to GetTextExtent in Grid.cpp: void SwigDirector_wxGrid::GetTextExtent(wxString const &string, int *x, int *y, int *descent, int *externalLeading, wxFont const *font) const { ... if (swig_get_up()) { wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font); return; } obj0 = rb_str_new2((const char *)(&string)->mb_str());