[fxruby-users] ComboBox and setFocus - a liltle bug and its workaround

Lyle Johnson lyle at knology.net
Wed May 3 21:47:43 EDT 2006

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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 515 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20060503/8a14962e/attachment.bin 

More information about the fxruby-users mailing list