similar to: Problem detecting keypresses in FXTable

Displaying 20 results from an estimated 400 matches similar to: "Problem detecting keypresses in FXTable"

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
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
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
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
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,
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."?
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,
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:
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
2009 Mar 25
1
"wine explorer ..." eats CTRL keypresses!
Hi all, I'm new to wine, and this is my first post here, so please forgive me if this information is available elsewhere. I have tried searching regular Google and the custom search on this site, but I can't seem to find the right keywords to get the answer to pop up. Anyway, here is my problem. I am using Wine to run a couple of games under linux. One of those games is Eve Online.
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
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
Hi Lyle, I noticed that when creating a FXTextField with TEXTFIELD_ENTER_ONLY it still sends messages to its target when other keys than KEY_Return are pressed. I usually create a textfield this way: textfield = FXTextField.new(self, 50, self, ID_INPUT, TEXTFIELD_ENTER_ONLY) textfield.setText(aStr) textfield.setFocus textfield.move(x, y, w, h) textfield.show This way only the enter key should
2004 Oct 04
1
Button property not in FXTableItem for 1.2 ??
I''m using a table in an application, and it worked in 1.0 - but in 1.2 this line: @result_table.getItem(0,j).button=true gives this error: main.rb:91:in `display_result'': undefined method `setButton='' for Id:Fox::FXTableItem (NoMethodError) What am I doing wrong?? (Plus - it''s not in the RDoc anymore... where did it go?) -Rich
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2003 Nov 06
2
openssh-3.7.1p2 on HP-UX 10.20
Hello, I have dowloaded all that is required to build a working OpenSSH on HP-UX 10.20 from the HP-UX Porting and Archibve centre (this seems to be the only way to go for 10.20). Make/install of all prerequisites has scucceeded. Now make of openssh-3.7.1p2 gives the following: gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/openssl-0.9.7b/include
2008 May 31
2
Getting items to fill a column
Hi I''ve been following through the example app in the FXRuby book (which has generally been very helpful!) and I''m now at the extending it stage. I''d like to get the images display at the centre of a column and have a uniform width for all columns. The centering I have fixed, but no combinations of setting width and height options and LAYOUT_FILLs seems to work to get
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become current when they receive a mouse click, but only do so if the click happens inside of an enabled widget. This may very well be correct, but if so then what is the right way to handle it, if you want a more familiar window-manager behavior (click to focus)? For example, if you change the mditest.rb example like so... ---
2020 Sep 29
5
Question about hardware failures / FSD
Hello, The UPS I am developing a driver to is able to report several flags for critical hardware conditions, like overheat, overload, inverter failure, output short etc. What should be the correct policy of operation when such a condition occurs? I think that the an UPS in such a condition is not reliable and therefore a system shutdown should be called. However, the developer's manual and