[fxruby-users] detecting row and column selections in an FXTable
r.mark.volkmann at gmail.com
Mon Mar 27 19:43:34 EST 2006
What's the proper way to detect when a row header or column header in
an FXTable is clicked. I tried this, but it didn't work.
table.connect(SEL_SELECTED) do |table, selection, position|
type = FXSELTYPE(selection)
identifier = FXSELID(selection)
puts "column selected" if identier == FXTable::ID_SELECT_COLUMN
It seems that identifier always gets set to zero.
R. Mark Volkmann
Object Computing, Inc.
More information about the fxruby-users