[fxruby-users] setting widget attributes
Mark Volkmann
r.mark.volkmann at gmail.com
Tue Mar 28 14:32:08 EST 2006
I'm trying to set attributes of widgets in subclasses like the following.
class PersonTable < FXTable
def initialize(owner)
options = TABLE_COL_SIZEABLE
super(owner, nil, 0, options)
visibleRows = 5
...
end
end
visibleRows doesn't get set.
However, if I do this
self.visibleRows = 5
then it does.
Shouldn't it work without "self."?
--
R. Mark Volkmann
Object Computing, Inc.
More information about the fxruby-users
mailing list