Displaying 5 results from an estimated 5 matches for "item_text".
Did you mean:
item_test
2007 Sep 10
2
syntax II
...but I fairly often want to loop over a
control with multiple items (eg Choice, ListCtrl, ListBox) to find or
alter a particular item. So for those classes I wonder if we should add
an ''each'' method that passes in turn each valid index into the widget:
listbox.each { | i | set_item_text(i, item_text(i).upcase) }
Or even:
listbox.each { | i | self.item_text[i] = item_text[i].upcase }
Anyway, shout if you love this or hate these...
cheers
alex
2008 Nov 14
1
GenericDirCtrl#re_create_tree behaviour
Hi
When GenericDirCtrl#re_create_tree is called in order to refresh the
tree with any possible changes made to the file system since it was
loaded, it doesn''t re-expand all the tree items that were expanded
prior to calling re_create_tree. I''m working on a solution to note all
open tree items and after re_create_tree manually expand the items
that are still present in the tree.
2007 Sep 17
7
Re : syntax II
...en want to loop over a
>control with multiple items (eg Choice, ListCtrl, ListBox) to find or
>alter a particular item. So for those classes I wonder if we should add
>an ''each'' method that passes in turn each valid index into the widget:
>
>listbox.each { | i | set_item_text(i, item_text(i).upcase) }
>
Everything that makes wxRuby looks more Ruby is good.
Nevertheless, I don''t know if I will use this feature often.
Cheers.
Chauk-Mean.
2006 Jan 11
0
Limit attributes written out by to_yaml
...9;
page_number: 5
row_text_width:
email_address_yn: N
survey_id: 153
other_yn: N
random_answer_order_yn: N
database_dsn: ''''
image_width: ''''
other_display_type:
subitem_count:
answer_total:
item_text: "<span style=\"font-weight:bold\">When a good has
positive network externalities,
this means that when using the product:</span>"
order_number: 26
item_alias: ''''
image_path: ''''
maximum_number_respo...
2008 Apr 23
0
Passing a hidden field to insert_html
..._html :bottom,:partial, :partial => ''item'', :object
=> Item.new(:item_property => "Some text") #adding this parameter
creates a problem
end
end[/code]
[code=_item.rhtml]
...
<%= f.hidden_field :item_property, :index => nil %>
<%= f.text_field :item_text, :index => nil %>[/code]
[code=index.rhtml]
<%= add_link "+Add Field Dinamically" %>[/code]
Does anybody know how to define a property of a new object in this
context? I''ve been trying to figure it out for a month, so any help is
very appreciated.
Thanks
Nacho
--~--...