You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mark goldin <ma...@gmail.com> on 2014/07/02 17:37:35 UTC

Custom component similar to DatePicker

I need to create a component that would consist of two controls:
TextInput and an icon. Something looking and working similar to a
DateField. But when I click on an icon I will show a list to choose some
values from. I want that list being shown below the text field - just like
a calendar is shown. Where would I start developing something like this? I
want my component working in the same way DatePIcker works.

Thanks

Re: Custom component similar to DatePicker

Posted by mark goldin <ma...@gmail.com>.
A, I see, will try. Thanks


On Wed, Jul 2, 2014 at 11:41 AM, Maurice Amsellem <
maurice.amsellem@systar.com> wrote:

> If you are using Flex 4, you can simply duplicate ComboBoxSkin to use your
> own TextInput class
>
> (see spark.skin.spark.ComboBoxSkin).
>
>
> -----Message d'origine-----
> De : mark goldin [mailto:markzolotoy@gmail.com]
> Envoyé : mercredi 2 juillet 2014 18:00
> À : users
> Objet : Re: Custom component similar to DatePicker
>
> I am considering this. But I need to have a text field of my own, not the
> one that comes with the combo.
>
>
> On Wed, Jul 2, 2014 at 10:52 AM, Subscriptions <
> subscriptions@leeburrows.com
> > wrote:
>
> > Perhaps a DropDownList with a custom skin?
> >
> >
> > On 02/07/2014 16:37, mark goldin wrote:
> >
> >> I need to create a component that would consist of two controls:
> >> TextInput and an icon. Something looking and working similar to a
> >> DateField. But when I click on an icon I will show a list to choose
> >> some values from. I want that list being shown below the text field -
> >> just like a calendar is shown. Where would I start developing
> >> something like this? I want my component working in the same way
> DatePIcker works.
> >>
> >> Thanks
> >>
> >>
> > --
> > Lee Burrows
> > ActionScripter
> >
> >
>

RE: Custom component similar to DatePicker

Posted by Maurice Amsellem <ma...@systar.com>.
If you are using Flex 4, you can simply duplicate ComboBoxSkin to use your own TextInput class

(see spark.skin.spark.ComboBoxSkin).


-----Message d'origine-----
De : mark goldin [mailto:markzolotoy@gmail.com] 
Envoyé : mercredi 2 juillet 2014 18:00
À : users
Objet : Re: Custom component similar to DatePicker

I am considering this. But I need to have a text field of my own, not the one that comes with the combo.


On Wed, Jul 2, 2014 at 10:52 AM, Subscriptions <subscriptions@leeburrows.com
> wrote:

> Perhaps a DropDownList with a custom skin?
>
>
> On 02/07/2014 16:37, mark goldin wrote:
>
>> I need to create a component that would consist of two controls:
>> TextInput and an icon. Something looking and working similar to a 
>> DateField. But when I click on an icon I will show a list to choose 
>> some values from. I want that list being shown below the text field - 
>> just like a calendar is shown. Where would I start developing 
>> something like this? I want my component working in the same way DatePIcker works.
>>
>> Thanks
>>
>>
> --
> Lee Burrows
> ActionScripter
>
>

Re: Custom component similar to DatePicker

Posted by mark goldin <ma...@gmail.com>.
I am considering this. But I need to have a text field of my own, not the
one that comes with the combo.


On Wed, Jul 2, 2014 at 10:52 AM, Subscriptions <subscriptions@leeburrows.com
> wrote:

> Perhaps a DropDownList with a custom skin?
>
>
> On 02/07/2014 16:37, mark goldin wrote:
>
>> I need to create a component that would consist of two controls:
>> TextInput and an icon. Something looking and working similar to a
>> DateField. But when I click on an icon I will show a list to choose some
>> values from. I want that list being shown below the text field - just like
>> a calendar is shown. Where would I start developing something like this? I
>> want my component working in the same way DatePIcker works.
>>
>> Thanks
>>
>>
> --
> Lee Burrows
> ActionScripter
>
>

Re: Custom component similar to DatePicker

Posted by Subscriptions <su...@leeburrows.com>.
Perhaps a DropDownList with a custom skin?

On 02/07/2014 16:37, mark goldin wrote:
> I need to create a component that would consist of two controls:
> TextInput and an icon. Something looking and working similar to a
> DateField. But when I click on an icon I will show a list to choose some
> values from. I want that list being shown below the text field - just like
> a calendar is shown. Where would I start developing something like this? I
> want my component working in the same way DatePIcker works.
>
> Thanks
>

-- 
Lee Burrows
ActionScripter