similar to: Re: FXTable -- numColumns & resize

Displaying 20 results from an estimated 200 matches similar to: "Re: FXTable -- numColumns & resize"

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
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
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
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 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
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
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
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'' %
2004 Oct 22
0
Re: fx ruby 1.2 api docs?
On Fri, 22 Oct 2004 10:58:16 -0700, Bob Sidebotham <bob@windsong.bc.ca> wrote: > Do you expect to release api docs for 1.2? Bob has already followed up and noted that he found the RDoc sources for the FXRuby 1.2 API documentation, but I''ll also note that you can already link to those docs online, here: http://www.fxruby.org/1.2/doc/api I''m probably going to go
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
2004 Apr 27
2
Gcc 3.4.0 and syslinux-2.09 menu
The menu directory won't compile with gcc 3.4.0 because gcc complains that "ebp" cannot be used as a constraint. If preserving ebp is necessary then it will have to be done in the assembler code. Gcc 3.3.3 just seems to ignore the constraint. It didn't do anything special to preserve the register. I also noticed that getnumrows returns the contents of 0x484 which is the
2002 Jun 21
1
naming things in functions
Hello, I'm working with R version 1.5.0 in Windows. I've written a function (SummaryMat, segment below) which uses a loop to repeatedly call another function (PercentsMat, segment below). PercentsMat creates a matrix and adds rows to it each time it is called. I use deparse(substitute(...)) to get the names of the lists sent to PercentsMat to use them as row names in the generated
2005 Feb 02
0
Re: Problem with setCellColor ?
On Feb 2, 2005, at 5:47 PM, dragoncity wrote: > am having problems with FXRuby 1.2 setting a cells color, > In the following code snippet, the variables rcnt & FLDFilename > are progam controlled, the two lines before the "puts" execute OK, > neither of > the setCellColor versions execute , both fail with > > `setCellColor'': table row out of bounds ,
2006 Aug 28
1
Extracting column name in apply/lapply
Hi, any good trick to get the column names for title() aside from running lapply on the column indexes? Thanks Nick. apply(X[,numCols],2,function(x){ nunqs <- length(unique(x)) nnans <- sum(is.na(x)) info <- paste("uniques:",nunqs,"(",nunqs/n,")","NAs:",nnans,"(",nnans/n,")") hist(x,xlab=info) #
2007 Dec 06
0
alternatives to latex() or xtable()
An alternative solution that allows you to break it down by categories is in the functions below. Comments/suggestions welcome and encouraged. Note that much thanks is due to those who responded to an earlier post of mine on a similar topic. To use (assuming you have a data.frame falled pathDist with columns distances (your numeric data of interest), Capacity, Surface, and SITE (vectors of
2010 Jul 15
0
impute2mach GenABEL conversion problem
Hi, I've been trying to use the impute2mach function in the GenABEL library. I unfortunately cannot make a working example as when I scale down the files I no longer get an error message. The error message that I get on the full file is: Error in checkSlotAssignment(object, name, value) : assignment of an object of class "NULL" is not valid for slot "data" in an
2011 Aug 10
1
xtable - caption missing with float=FALSE
Hi, For some reason I'm finding that my table caption is disappearing if I print xtable output with the floating argument set to FALSE. Below is a very simple Sweave file that produces two tables the first has no caption and the second has a caption (if you want to see it http://www.zevross.com/temp/test.pdf). Does anyone know what I can do to fix this? Zev (I'm using Windows 7, 64
2005 Jan 15
0
Model syntax errors obscured during fixture load
When I run unit tests with a syntax error in one of my models (in this case, it was an unterminated quote), I get this error, which suggests to me that whatever code is autoloading the model while it''s loading my fixtures is masking the error (I don''t get any notification of the syntax error, here, nor in the log). Bob bob@gemini:~/rails/windsong$ ruby -Ilib:test -S testrb
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."?