similar to: Re: Problem with setCellColor ?

Displaying 20 results from an estimated 1000 matches similar to: "Re: Problem with setCellColor ?"

2008 Aug 20
0
FXTable scrolling problem
Hi, I''m trying to accomplish the following task: 1) Query database for records 2) Populate FXTable with first 50 records from cursor 3) Populate more rows as the table scrolls down To accomplish this I subclassed FXTable (class Table < FXTable) and defined the initialize method as shown below: def initialize(parent) super(parent,
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi, I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6. I''ve noticed something strange when copying-pasting things between FXTable cells, and FXTextfields. ---------------------------------------------- 1) When copying the content of an FXTextfield, and pasting it into an FXTable cell, everything works fine. 2) When selecting an FXTable cell, issuing a "copy"
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
When I empty and refill an FXTable multiple times with a large data set (10,000 rows x 1 column in the example below, around 1000 rows x 6 columns in a more complicated app), the application eventually fails with a segmentation fault. The number of repetitions required to produce the segfault is rather random, ranging from just a couple reps to 15 or 20 in some trials. The program disappears
2005 Feb 18
2
Fixed column widths in FXTable?
Is there a way to make an FXTable''s column widths (and row heights) unchangeable by the user? By experimentation it looks to me like leaving out TABLE_COL_SIZABLE and TABLE_ROW_SIZABLE from the options field in FXTable.new() has no effect. I can still drag the intersection between two column heading buttons to change the column width. The code I''m using to test this is
2004 Oct 23
0
Re: FXTable -- numColumns & resize
On Fri, 22 Oct 2004 13:39:06 -0700, Bob Sidebotham <bob@windsong.bc.ca> wrote: > In 1.2 FXTable, numColumns is documented as numCols, but should be > numColumns, I think. Also the examples/table.rb app uses numCols, and > should use numColumns. Yes, you''re right. I''ve added both of these bugs to the FXRuby bug list, found here:
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote: > I tried to submit the following message to the "fxruby-users" > message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org > , but the message did not appear). I conclude I do not know how to > submit questions to this message board. You need to be subscribed to the mailing list before you
2006 Apr 24
0
table.getItem(1,1).icon=ic
Helmut, If I understand what you''re asking, I think the solution is to call create() on ic2 before using it: ic2.create @table.getItem(1, 1).icon = ic2 If this does not solve your problem, please try to express your question more clearly. Hope this helps, Lyle On Apr 24, 2006, at 1:36 AM, Helmut Hagemann wrote: > High > ? > i have trouble with FXTable > >
2012 Dec 16
0
Bug: FXTable: programmatic deselection doesn't work as expected.
Hello Lars and company. Was working with FXTable wdiget; what I want to acomplish is that the the table is read only but full full read only, I mean: the user can''t select any cell. Well I realized that it is not possible, so I''ve tried to look for another solutions, and none of them work for me. The one which put me close to the solution was: "when the user select a cell,
2005 May 18
0
Re: FXTable possible bug
On Wed, 18 May 2005 23:12:03 +0400, Pavel Sokolov <elgato@rambler.ru> wrote : > I am still learning to deal with FOX and playing with different > widgets. I have encountered strange behavior of FXTable with regard to > style options. FXTable allows to resize rows and columns both w/ and > w/o options TABLE_ROW_SIZABLE, TABLE_COL_SIZABLE. This bug in FOX 1.2 was
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."?
2004 Jul 22
0
Re: FXRuby and Threads (was: radiobuttons are weird in 1.2.x series)
*********** REPLY SEPARATOR *********** On 22/07/2004 at 14:01 lyle@knology.net wrote: >On Thu, 22 Jul 2004 14:47:47 +0100, "Bil" <bil.bas@virgin.net> wrote : > >> Err, well it does work, though it does not require the background thread >to run very fast at all. The application is a prototype of a board-game >engine. The server is a regular threaded Ruby
2009 Oct 20
8
Pre-release FXRuby binary gems for testing
All, A couple of new build platforms have come into the picture since the last FXRuby release and I''m trying to make sure they''re supported. That is to say, I want to be able to provide precompiled binary gems so that users on those platforms don''t have to build everything from source. I think I''m there, but I could use your help testing if you have
2008 May 06
1
Wrap text inside an FXTable cell?
Hi, Is it possible to wrap text inside an FXTable cell, just like it is possible with an FXText object? I''d like to display and edit multi-line text inside an FXTable cell. Thanks! Philippe
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
I am using ruby *1.8.4* (2005-12-24). I added this code: #define RARRAY_LEN(a) \ ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ (RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \ RARRAY(a)->as.heap.len) #define RARRAY_PTR(a) \ ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
2010 Mar 17
0
getting text being entered into an FXTable cell
I have an application that uses an FXTable widget, and when the contents of a cell is being edited, I want to anticipate what the user wishes to enter (by matching the text with a previous entry), and present that for completion. (This is similar to how Excel works.) I''ve attempted to do this by using the FXTable getItem(currentRow, currentColumn).text method when a SEL_KEYRELEASE
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to select a row and then press the Delete key to delete the selected row. This does not seem to work, however, as apparently keypresses are not initially recognized. In my FXTable derived class I have: connect(SEL_KEYRELEASE) do |sender, selector, event| puts "code = #{''%X'' %
2008 Jun 06
0
FXRuby 1.6.15 Now Available
All, FXRuby version 1.6.15 is now available for download from this page: http://rubyforge.org/frs/?group_id=300&release_id=22658 Note that if you''re building FXRuby from source, you should be using FOX 1.6.16 or later due to some important changes made in that release of FOX. For a summary of the changes in this release of FXRuby, please see this page:
2007 Feb 03
0
Bus error in IRB when trying: require "fox16"
On 2/2/07, Zane <zcvohland at gmail.com> wrote: > I have spent a couple of days trying to get the Fox GUI library to > interact with ruby. Now I think I am getting close. Before I go on to > explain my problem here is some information that may be necessary... <snip> > Software Versions: > ---------------------- > Ruby 1.8.1 Just curious: Why still running Ruby
2007 Apr 09
1
FXRuby 1.6.9 Now Available
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, FXRuby version 1.6.9 is now available for download from this page: http://rubyforge.org/frs/?group_id=300&release_id=10973 This is a bug fix release and is strongly recommended. Note that if you''re building FXRuby from source, you should be using FOX 1.6.16 or later due
2008 May 02
0
A word about compatibility with JRuby and Ruby 1.9
All, Due to a number of recent bug reports regarding FXRuby''s compatibility with JRuby, I feel like I need to clear something up, and that''s that FXRuby will never (well, "almost certainly never") work with JRuby. This problem isn''t unique to FXRuby; it''s true for any C/C++-based Ruby extension. See this page: