search for: set_grid_cursor

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

2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi, Thanks to the newly added event handlers for Wx::Grid in the 0.6.0 release, I can now provide a much slicker intreface to my "data widgets" which heavily rely on that control. However, I haven''t quite figured out how to programmatically scroll to the last row of a populated grid (actually, the first empty row). So say that I have a grid with 200 rows only 20 of which
2012 May 22
2
Wx:Grid Setting Cursor Position
...rid widget with an underlying GridTableBase and trying to implement a "Find" button which would cause the current cursor position to go to the next matching cell. I''m wondering if there''s an easy way to do it? I''m playing with the Grid.select_block_row(), Grid.set_grid_cursor() and Grid.scroll() methods, but the results are a bit erratic. Is there a better way to do this than using Grid.move_cursor_down/right? Thanks, Norbert -- Posted via http://www.ruby-forum.com/.
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
...id_setdefaultcelltextcolour +* "Grid#set_default_editor":#Grid_setdefaulteditor +* "Grid#set_default_renderer":#Grid_setdefaultrenderer +* "Grid#set_default_col_size":#Grid_setdefaultcolsize +* "Grid#set_default_row_size":#Grid_setdefaultrowsize +* "Grid#set_grid_cursor":#Grid_setgridcursor +* "Grid#set_grid_line_colour":#Grid_setgridlinecolour +* "Grid#set_label_background_colour":#Grid_setlabelbackgroundcolour +* "Grid#set_label_font":#Grid_setlabelfont +* "Grid#set_label_text_colour":#Grid_setlabeltextcolour +* &quot...