Re: [flexcoders] dateField questions?

2005-02-24 Thread ibibas
: 23/02/2005 22:01 Asunto: Re: [flexcoders] dateField questions? Por favor, responda a flexcoders Hi ibibas, How would I set up a function to accept an argument like this: getCurrentDate(myDateFieldNameHere); I know this isn't correct: function getCurrentDate(myArg) { var myArg

RE: [flexcoders] dateField questions?

2005-02-23 Thread Allen Manning
: RE: [flexcoders] dateField questions? use the selectedDate property and set it to a date-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 23, 2005 12:21 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] dateField questions?Hi All,How does

RE: [flexcoders] dateField questions?

2005-02-23 Thread Clint Tredway
: RE: [flexcoders] dateField questions? use the selectedDate property and set it to a date-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 23, 2005 12:21 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] dateField questions?Hi All,How does

Re: [flexcoders] dateField questions?

2005-02-23 Thread alf
Thanks!! worked like a charm. -Art Quoting [EMAIL PROTECTED]: Once created the datefield, use this code in a ActionScript function: inputDate.selectedDate = new Date(); where inputDate: mx:DateField id=inputDate dateFormatter=formatDate / You can format it using this function: function

Re: [flexcoders] dateField questions?

2005-02-23 Thread alf
Hi ibibas, How would I set up a function to accept an argument like this: getCurrentDate(myDateFieldNameHere); I know this isn't correct: function getCurrentDate(myArg) { var myArg; myArg.selectedDate = new Date(); } I would like to make the function generic so I could reuse it on other screens

RE: [flexcoders] dateField questions?

2005-02-23 Thread alf
(dateField:mx.controls.DateField):Void Tracy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 4:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dateField questions? Hi ibibas, How would I set up a function to accept an argument like this: getCurrentDate

RE: [flexcoders] dateField questions?

2005-02-23 Thread Clint Tredway
use the selectedDate property and set it to a date -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 12:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] dateField questions? Hi All, How does one access the dateField