search for: refresh_item

Displaying 5 results from an estimated 5 matches for "refresh_item".

2007 Jan 14
3
ListCtrl help
...heading on_col_left_click(event) gets called and it in turn sorts / reverses the sort of that column. I am printing out the data for debugging purposes so I know that my internal data representation is getting sorted but I nothing is getting updated in my window. The docs talk about using refresh_item(int) and refresh_items (start_int, end_int) to update the display but I''m getting an error message of: plekdb.rb:80:in `on_col_left_click'': undefined method `refresh_item'' for #<DbViewer:0x6e1098> (NoMethodError) I''ve no clue about what I''m m...
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2003 Nov 10
5
picture organizer -- need a bit of help
While trying to develop a little wxruby program, I have some difficulties, namely: 1. I want to read all kind of graphic files, (mainly jpg, png and tiff is enough...) But, the current implementation seems to deal only with bmps and currently there is no way to call ::wxInitAllImageHandlers. 2. I think DnD is required in my case: I want to drop filenames on a TreeCtrl. I will try to add
2004 Jan 08
3
pictorG
...EIGHT) icon_dc=MemoryDC.new() icon_dc.select_object(icon) icon_dc.set_brush(TRANSPARENT_BRUSH) icon_dc.clear() icon_dc.draw_bitmap(icon_data,(THM_WIDTH-w)/2,(THM_HEIGHT-h)/2,false) icon_dc.select_object(NULL_BITMAP) @imageList.add icon refresh_item i Thread.pass } } end end #======================================================================== class Categories < TreeCtrl attr :root def initialize parent #,id=-1,pos=DEFAULT_POSITION,size=DEFAULT_SIZE,style=TR_HAS_BUTTONS|TR_ROW_LINES|TR_EDIT_LABELS#|TR_HIDE_...