What happens?  How are you sure the dates are not being set?  What happens
if you do this after setting a date:

Trace(dtCmplxStartDate.toDateString(0);

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Mic
Sent: Thursday, April 23, 2009 10:47 PM
To: [email protected]
Subject: [flexcoders] Setting dateField.SelectedDate when component is
disabled?

 






In a modal View state the dateFields are disabled but I need to populate
them for the current record. I can stick my proc values in when they are
enabled, but not when disabled. I tried

dtCmplxStartDate.enabled = true;
dtCmplxStartDate.selectedDate = tempStrtDt; 
dtCmplxStartDate.enabled = false;
dtCmplxEndDate.enabled = true;
dtCmplxEndDate.selectedDate = tempEndDt; 
dtCmplxEndDate.enabled = false;

but no go. TIA,

Mic.



Reply via email to