lyle at knology.net
Mon Jan 23 18:18:35 EST 2006
On Tue, 24 Jan 2006 00:06:30 +0100, Uwe Hartl <uwe.hartl at gmx.net> wrote :
> I am trying to insert text into an FXTextField. Unfortunately the TextField
> just shows Garbage. If I print (p garbage) the Garbage it says "\a"
> Why does it not say "dfdf" and show "dfdf" in the text field? Here is the
> I use:
> @txt = FXTextField.new(hf, 10, nil, 0, opts= LAYOUT_FILL_X)
> @txt.handle(sender, FXSEL(FXTextField::SEL_COMMAND,
> FXTextField::ID_INSERT_STRING), "dfdf")
> I a confused. Please, can someone help?
What do you get when you just set the text directly, i.e.
@txt.text = "dfdf"
More information about the fxruby-users