Hi Robert, the pop-up contains the DateCooser[1] widget. This widget has a method "showMonth" this could be used to jump to a month without setting the value to this.
I would derive from DateField and create my own one. The new class would get a property "dependingDate" and override the method "_onPopupChangeVisibility". The "_onPopupChangeVisibility" would call the "showMonth" method if the pop-up is visible. I hope this answer solve your problem. Cheers, Chris [1] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.control.DateChooser Robert Wende schrieb: > Hello, > > i want to change the month when i click on my datefield. for example: in my > textfield contains the phrase "dd.mm.yyyy". if i click on the calender icon, > i don't want to see the actual month but rather a dynamic display of the > month which is depending on an other variable. > > as yet i use setDate(dependingDate) and afterwards setValue("dd.mm.yyyy"). > but first i see the depending date in the datefield and then changing to > "dd.mm.yyyy". > > Exist another way to change the month and day selection in the popup, but > holding the actual Value of the datefield? > > thanks, > Robert > -- Christian Schmidt Software Entwickler 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe [email protected] Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
