[fxruby-users] ComboBox and setFocus - a liltle bug and itsworkaround

Gérard Ménochet gerard.menochet at wanadoo.fr
Thu May 4 08:35:23 EDT 2006

Hi Lyle,

    That works !!.  Thanks. You do a great job


Gérard Ménochet

----- Original Message ----- 
  From: Lyle Johnson 
  To: fxruby-users at rubyforge.org 
  Sent: Thursday, May 04, 2006 3:47 AM
  Subject: Re: [fxruby-users] ComboBox and setFocus - a liltle bug and itsworkaround

  On May 2, 2006, at 7:15 PM, Gérard Ménochet wrote:

    * I 'd like to set a selectAll() on this textField of the comboBox but unfortunately, it's a FXWindow class.

  Until the bug for FXComboBox#children is corrected, see if you can use this as a workaround to get the text field:

  textField = comboBox.first

  This refers to the same widget as comboBox.children[0], but it should come back with the correct type (FXTextField).


  fxruby-users mailing list
  fxruby-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060504/d9950841/attachment-0001.htm 

More information about the fxruby-users mailing list