:
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?
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?
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
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
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
(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
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
7 matches
Mail list logo