On 31/01/2014 at 07:12, xxxxxxxx wrote:
I can not get the datetime_gui to open the calendar or the clock.
The Date Today and Now buttons are working.
Also, I do not get the little arrow in front?
dtsettings = c4d.BaseContainer()
dtsettings.SetBool(c4d.DATETIME_DATE_CONTROL, True)
dtsettings.SetBool(c4d.DATETIME_TIME_CONTROL, True)
dtsettings.SetBool(c4d.DATETIME_DATE_TODAY, True)
dtsettings.SetBool(c4d.DATETIME_TIME_NOW, True)
dtsettings.SetBool(c4d.DATETIME_CALENDAR_OPEN, True)
dtsettings.SetBool(c4d.DATETIME_CLOCK_OPEN, True)
self.startDate = self.AddCustomGui(3010, c4d.DATETIME_GUI, "", c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, 0, 0, dtsettings)