search for: table_row_siz

Displaying 3 results from an estimated 3 matches for "table_row_siz".

2005 Feb 18
2
Fixed column widths in FXTable?
Is there a way to make an FXTable''s column widths (and row heights) unchangeable by the user? By experimentation it looks to me like leaving out TABLE_COL_SIZABLE and TABLE_ROW_SIZABLE from the options field in FXTable.new() has no effect. I can still drag the intersection between two column heading buttons to change the column width. The code I''m using to test this is below. The test is on a machine running Windows XP Home, service pack 2. The base Ruby install...
2008 Aug 20
0
FXTable scrolling problem
...opulate FXTable with first 50 records from cursor 3) Populate more rows as the table scrolls down To accomplish this I subclassed FXTable (class Table < FXTable) and defined the initialize method as shown below: def initialize(parent) super(parent, :opts=>LAYOUT_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 define...
2005 May 18
0
Re: FXTable possible bug
...0400, Pavel Sokolov <elgato@rambler.ru> wrote : > I am still learning to deal with FOX and playing with different > widgets. I have encountered strange behavior of FXTable with regard to > style options. FXTable allows to resize rows and columns both w/ and > w/o options TABLE_ROW_SIZABLE, TABLE_COL_SIZABLE. This bug in FOX 1.2 was reported to Jeroen back in February 2005 and, as far as I know, it was only fixed in the FOX 1.4 branch (i.e. he has not gone back and fixed it in FOX 1.2). See this message from the FOX Users'' Mailing List Archive: http://sourceforge.n...