search for: textfield

Displaying 20 results from an estimated 200 matches for "textfield".

Did you mean: text_field
2006 Mar 29
2
intercepting messages from FXScrollBar toFXScrollArea
...(45 pixels). So the ScrollCorner is also really big and I just wanted to use this space by moving the ScrollDown Botton down to the position of the ScrollCorner (like the attachment shows) The code looks like this (it seems to work unless that you can''t use the scrollbar afterward): textField.verticalScrollBar.connect(SEL_CONFIGURE){ textField.scrollCorner.destroy() width = textField.verticalScrollBar.width height = textField.height textField.verticalScrollBar.resize(width, height) } The connect method has changed the target of the ScrollBar and so the Scrol...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
Hi Lyle, I noticed that when creating a FXTextField with TEXTFIELD_ENTER_ONLY it still sends messages to its target when other keys than KEY_Return are pressed. I usually create a textfield this way: textfield = FXTextField.new(self, 50, self, ID_INPUT, TEXTFIELD_ENTER_ONLY) textfield.setText(aStr) textfield.setFocus textfield.move(x, y, w, h) te...
2006 Jul 09
3
Verify hash key in hash in params hash
Hi, how can I use Rails ActionController::Verification#verify :params when the hash key is in a hash? E.g.: params[:form][:textfield] and I want to verify that :textfield is a key in params[:form] Thanks Markus
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
...ts/swfdec/swfdec]% player/swfplay -t ~/Desktop/mmsp.swf 2>&1 | head -1000 SWFDEC: WARN : swfdec_swf_decoder.c(342): swfdec_swf_decoder_parse_one: tag function not implemented for 73 DefineFontAlignZones SWFDEC: FIXME: swfdec_text_field.c(144): tag_func_define_edit_text: Using embed fonts in TextField is not supported SWFDEC: WARN : swfdec_swf_decoder.c(342): swfdec_swf_decoder_parse_one: tag function not implemented for 74 CSMTextSettings SWFDEC: FIXME: swfdec_text_field.c(144): tag_func_define_edit_text: Using embed fonts in TextField is not supported SWFDEC: WARN : swfdec_swf_decoder.c(342):...
2008 May 08
1
Textfields
Hey everybody, I've just merged my TextField hacking into master. It's basically a big refactoring and test addition thing, to get signals and variables report something sane. It's not complete yet, but I wanted to have it in, so we don't get too many merge conflicts when Pekka fixes the HTML parsing bugs. Here's a partial lis...
2007 Jun 05
2
.activate() behaviour
...change'', function(event){ var elt=Event.element(event); //elt.activate(); $(elt.id).activate(); }); }); </script> </form> </body> </html> ---------------------------------------------------------------------------------------- Basically, I have two textfields here. On changing the value of textfield 2, there will be a validation performed (not shown on code above, for simplicity). When this validation failed, the same textfield should be selected (highlighted, and typing anything should replace the content of that textfield). According to the documenta...
2006 Mar 07
2
Building tkentry dynamicly
...truct them in an iterative way : library(tcltk) main<-tktoplevel() tktitle(main)<-"My Tool" filenames<-c("toto","tata","titi") N<-length(filenames) for (i in 1: N) { text<-tclVar(filenames[i]) # get a filename (string value) textField<-tkentry(main,textvariable=text) # build a text field tkgrid(textField) } The problem is : How to keep references for each tclVar created, in order to acces to the text modifications eventually done for each field ? Example : (Embedded image moved to file: pic14771.jpg) to (...
2006 Jun 18
3
on change of drop down a textfield emerging
hi, i have a situation where i have a list of options from which a user selects his options if its not in the list he/she selects Others/Not Present and a new textfield should pop up and the data entered there should be considered instead of dropdown. i have done this using javascript/dhtml but i was wondering how this can be done using pure rails i.e using some of the RoR apis?. i would appreciate if anyone helps me with this. warm regards gaurav v bagga ----...
2008 Jul 02
2
FXTextField and text alignment
Hi, When the text inside an FXTextField is larger that the available space, the FXTextField apparently "switches" from left alignment to right aligment: you only see the end of the text. When the text is smaller than the available space, text is aligned on the left. Is there a way to change that, and have left alignment all th...
2006 Jun 18
5
on change of drop down showing a new textfield
hi, i have a situation where i have a list of options from which a user selects his options if its not in the list he/she selects Others/Not Present and a new textfield should pop up and the data entered there should be considered instead of dropdown. i have done this using javascript/dhtml but i was wondering how this can be done using pure rails i.e using some of the RoR apis?. i would appreciate if anyone helps me with this. warm regards gaurav v bagga ----...
2006 Feb 09
0
pass values with autocomplete textfield
Hi all, I have a simple app that has an autocomplete textfield in my view. I now want to be able to pass the value of a select to my controller when my auto_complete_for_location_name is called. My goal is to be able to filter the autocomplete results by the value of the select. My view code looks like this: <%= form_remote_tag :update => "searc...
2005 Dec 29
0
textfield helper - formatting the displayed text
Is there a way to have a textfield helper format the displayed field? I''d like to invoke the number_to_currency method on the number that get''s displayed, but I can''t figure out how to do it. I tried: <%= text_field ''product'', number_to_currency(''price'') %> and...
2007 Jan 10
0
Ajax.InPlaceEditor Create Form question
I''ve successfully combined Ajax.Inplaceeditor with another autocomplete javascript. However, I''m trying to alter the form that is created. Is there a way to prevent the autocompletion feature when typing in the form? I tried messing with the controls.js file: textField.obj = this; textField.type = "text"; textField.name = "value"; textField.id = "inplaceeditor-input"; <--added this to give the generated textfield an ID to target textField.AUTOCOMPLETE = "off"; <-- added this to try and stop the autocomplete featur...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...+ ["_global", "SharedObject", false], + ["_global", "Sound", false], + ["_global", "Stage", false], + ["_global", "String", false], + ["_global", "System", false], + ["_global", "TextField", false], + ["_global", "TextFormat", false], + ["_global", "TextSnapshot", false], + ["_global", "Video", false], + ["_global", "XML", false], + ["_global", "XMLSocket", false], + ["...
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog
2008 Jan 08
1
HOWTO: Add a new line, Remove new line?
...rc="prototype.js"></script> <script type="text/javascript" src="calculate.js"></script> <!-- Some fieldpairs. --> <div class="fieldpair"> <input type="checkbox" checked="1"/> <input type="textfield" value="10" /> </div> <div class="fieldpair"> <input type="checkbox" /> <input type="textfield" value="20" /> </div> <div class="fieldpair"> <input type="checkbox" /> &l...
2007 Oct 28
1
test/trace
...-field-init-native-5.swf differ diff --git a/test/trace/text-field-init-native-5.swf.trace b/test/trace/text-field-init-native-5.swf.trace new file mode 100644 index 0000000..80b01f7 --- /dev/null +++ b/test/trace/text-field-init-native-5.swf.trace @@ -0,0 +1,2 @@ +Test whether native properties of TextField are initialized if the movie contains an EditText tag +undefined diff --git a/test/trace/text-field-init-native-6.swf b/test/trace/text-field-init-native-6.swf new file mode 100644 index 0000000..82ea798 Binary files /dev/null and b/test/trace/text-field-init-native-6.swf differ diff --git a/test/t...
2011 Mar 10
4
Multi-model forms
...; <li><%= msg %></li> <% end %> </ul> </div> <% end %> <table> <tr><td><%= f.label :name %></td></tr> <tr> <td><%= f.text_field :name, :class => ''textfield'' %></td> </tr> <tr><td><%= f.label :last_name %></td></tr> <tr> <td><%= f.text_field :last_name, :class => ''textfield'' %></td> </tr> <tr><td>&lt...
2009 Aug 13
10
default value if textfield is empty
Hey all, im not sure where to set a default value if a textfield is empty? For now i do it in the controller, and check if the submitted parameter is blank. But this seems not to be the best solution... Thanks for your help! -- Posted via http://www.ruby-forum.com/.