Displaying 1 result from an estimated 1 matches for "table_scrolled".
2008 Aug 20
0
FXTable scrolling problem
...FILL|TABLE_COL_SIZABLE|TABLE_ROW_SIZABLE,
:padding => 2)
self.editable=false
setBackColor(FXRGB(255, 255, 255))
setCellColor(1, 0, FXRGB(240, 255, 240))
setCellColor(1, 1, FXRGB(240, 255, 240))
rowHeader.width=30
verticalScrollBar.connect(SEL_COMMAND, method(:table_scrolled))
end
I also defined the table_scrolled method as below to check that the event
gets handled:
def table_scrolled(sender, selector, data)
puts "table scrolled to #{data}"
end
Now when I start the application, populate the table with records (50
records) following happens:
- when...