search for: edit_label

Displaying 4 results from an estimated 4 matches for "edit_label".

2008 Apr 28
1
LC_REPORT ListCtrl Confusion
Hi, I''m having some trouble allowing the user to edit a multi-column listctrl. I can do the first column fine, simply by calling ListCtrl::edit_label in the activate event, but it seems impossible to do this for the other columns for two reasons. 1, the activate event doesn''t allow you to get the column, and 2, edit_label onl;y works for the first column. Thanks, Lucas
2006 Apr 27
1
Ajax response won''t display
...e partial "tab_predecessor_list" --------------------------------------------------------------------- <%= form_remote_tag(:update => "update", :url => {:action => ''add_predecessor''}) %> <span class="edit_label"><label for="selected_task">Predecessor:</label></span> <input type="text" name="selected_task" > <%= Time.now.to_s %> <%= submit_tag "Add" %> <%= end_form_tag %> --------------------------------...
2007 Oct 28
2
Edit label in virtual listctrl
Hi, I am testing a virtual listctrl, and have run into some problems with changing the labels in it. The listctrl shows a bunch of rows and columns, and it gets activate events whenever I doubleclick on a cell. Works like a charm. My problem comes when I call the edit_label method, specifically that I think that I don't quite understand the argument passed to it (item as integer). This would seem to be the row, and when passed a row number, the edit control shows up just fine, for the first column. How would I go about to specifiy a label in another column? Thank...
2004 Jan 08
3
pictorG
...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_ROOT super parent,-1,DEFAULT_POSITION,DEFAULT_SIZE,TR_EDIT_LABELS|TR_HAS_BUTTONS @cats = Tree.new( ''All pictures (sok)'',[ Tree.new(''Location'',[''Budapest'',''Venice'']), Tree.new(''Type'...