search for: okbutton

Displaying 8 results from an estimated 8 matches for "okbutton".

Did you mean: tkbutton
2006 Nov 04
2
in_place_editor_field submitOnBlur & okButton=false options?
I have a few in_place_editor_fields working fine. I can access some of the script.aculo.us options such as :cols, :save_text, :cancel_text, but how do I access the okButton = false & submitOnBlur options? Basically, I want no submit button, a cancel button, and the ability to submit when I tab out of the field. Is this doable without writing a helper? (avoiding digging that deep so early on in my rails learning) Script.aculo.us wiki shows a variety of optio...
2004 Jun 09
1
Using macros
...te a fake source attribute mm <- match.call() mm$expr <- NULL mm[[1]] <- as.name("macro") attr(ff, "source") <- c(deparse(mm), deparse(expr)) ## return the macro ff } OKCancelHelp <- defmacro(window=top, OKbutton=OKbutton, onOK=onOK, cancelButton=cancelButton, onCancel=onCancel, helpButton=helpButton, onHelp=onHelp, helpSubject, expr={ OKbutton <- tkbutton(window, text="OK", fg="darkgreen", width="12", command=onOK, default="active&q...
2006 Feb 08
9
InPlaceEditor - IMG for OK / Cancel?
Hi all, Is it possible to use images instead of plain text for the "OK" and "Cancel" controls? Thanks, Best Regards, EJC _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2003 Jun 06
4
stuck tcltk scrollbars under Windows XP
...t;white", exportselection="FALSE", yscrollcommand=function(...) tkset(xScroll, ...)) for (x in letters) tkinsert(xBox, "end", x) onOK <- function() { tkgrab.release(window2) tkfocus(window1) tkdestroy(window2) } OKbutton <- tkbutton(window2, text="OK", width="12", command=onOK, default="active") tkgrid(xBox, xScroll, sticky="nw") tkgrid.configure(xScroll, sticky="ns") tkgrid(xFrame, sticky="w") tkgrid(OKbutton, sticky="w")...
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
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
I''ve followed the instructions in the Rails Recipe #1 and have the in_place_editor_field working but now I want to tweak how it looks and behaves. I''d like to be able to override the default yellow highlight color, which is done using the highlightcolor param according to the scriptaculous documentation (unless I''m missing something). I''m new to Ruby and Rails
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
Well, I start recently with Scriptacolus and inPlaceEditor. I have two doubts about use it. 1) When I specify URL for save changes or not it doesn''t work. See example below: <script type="text/javascript"> new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre''); </script> In productos.php file I have