Displaying 1 result from an estimated 1 matches for "persontable".
Did you mean:
personable
2006 Mar 28
11
setting widget attributes
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."?
--...