On Thursday 27 October 2011 19.07:15 Patrick Goupell wrote: > I love the calendardatetimeedit. > > When I set 'kind' = dtk_datetime and click on the drop down I get a > calendar for date selection. > > After I select a date the date shows in blue as selected. > > If I try to enter a time the date erases. > How do I select a date from the dropdown and then enter / append the time? > Press the End key. BTW, a single space + Enter returns current data and time.
> I tried a second calendardatetimeedt and set kind = dtk_time. > > When I clicked the dropdown I got the calendar which I did not expect by > setting the kind = dtk_time. Is that normal for a time entry? > Normal yes, useful probably no. > Do I need to set the formatdisp / formatedit? What should the formats look > like? > Set them to the format you need if the default is not OK. It is possibly better to combine a dtk_date tcalenderdatatimeedit with a dtk_time tdatetimeedit. Deactivate optionsedit oe_eatreturn and activate optionswidget ow_keyreturntaborder of the tcalendatdatetimeedit in order to move to the time entry by Enter key. Martin _______________________________________________ MSEide-MSEgui-talk mailing list MSEide-MSEgui-talk@lists.berlios.de https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk