search for: filltabl

Displaying 1 result from an estimated 1 matches for "filltabl".

Did you mean: filltable
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...", nil, nil, DECOR_ALL, 0, 0, 600, 400, 0, 0) mainFrame = FXVerticalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) @table = FXTable.new(mainFrame, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y) goButton = FXButton.new(mainFrame, " Go method 1") goButton.connect(SEL_COMMAND) { fillTable } goButton2 = FXButton.new(mainFrame, " Go method 2") goButton2.connect(SEL_COMMAND) { fillTable2 } end # fails after 2 to 15-20 iterations def fillTable @table.setTableSize(TABLE_SIZE, 1) (0...TABLE_SIZE).each do |r| @table.setItemText(r, 0, "#{...