[fxruby-users] FXTextField

Uwe Hartl uwe.hartl at gmx.net
Thu Jan 26 17:01:02 EST 2006


Hi Lyle,

I got it. It took me forever:

                @txt.connect(SEL_LEFTBUTTONPRESS) {|sender, sel, item|
                        helpText.setText("Suche nach einem Datum.")
                        @txt.onLeftBtnPress(sender, sel, item)
		0
                }

The "0" does the trick. The event is not consumed and the Textfield still 
reacts to the mouse. The funny thing is, I get an error message, when I write 
return 0

I got the idea from here:

http://www.fox-toolkit.com/messages.html
in the section "Message Handler Return Values"
 
Thanks for the help

Uwe

-- 
***********************************************************************
Uwe Hartl                                e-mail: Uwe.Hartl at gmx.net
91522 Ansbach                            Telephone: (0981) 9724526
Am Mühlfeld 8                            Notfall-Mobil: (0160)90418680
Germany
***********************************************************************




More information about the fxruby-users mailing list