[fxruby-users] FXTextField
Lyle Johnson
lyle at knology.net
Tue Jan 24 15:51:44 EST 2006
On Jan 24, 2006, at 2:37 PM, Uwe Hartl wrote:
> it's me again. Now I changed the TextField to Text an try this:
>
> @txt = FXText.new(hf, nil, 0, opts=
> LAYOUT_FILL_X|FRAME_SUNKEN|FRAME_THICK)
> from the documentation I read
> Attributes
> visibleRows [RW] Number of visible rows [Integer]
>
> do I interpret this as a readable and writable attribute of FXText? If
> I try:
>
> @txt.visibleRows = 1
> or
> @txt.visibleRows= 1
> then I get
> ./Dataviewclasses.rb:51:in `showQuery': undefined method `visibleRows='
> for :Fox::FXText (NoMethodError)
I just tried a quick test with the latest releases of FXRuby (versions
1.2.6 and 1.4.4) and it worked fine. Do you know which version of
FXRuby you're using?
More information about the fxruby-users
mailing list