Displaying 3 results from an estimated 3 matches for "sel_keypressed".
Did you mean:
sel_keypress
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
...hen 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 send the message
SEL_KEYPRESSED/SEL_KEYRELEASED with
ID_INPUT to the target. But that somehow doesn''t work.
Regards,
Jannis
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
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'' %