This post is continuation of the previous post.
How to do this:
Create a lib project with a new Class which extends the DateField Class and the required .swc file is created in the bin folder.
Now we need to include one .as file which defines all the required properties for the DateField Component.
The .as file is already available for the TextInput component, which defines the required border properties. So all we need to do is get that file and include it in the NewDateFiled Class.
The .as file is BorderStyles.as and it is present in the sdk’s at
Now get this .swc file generated [lib] into the your projects [paste it in your projects lib folder ] and drag the NewDateField component from the custom folder from the design view.
Now you can see the new properties included in the NewDateField component.
The below image shows the New DateField component with BackgroundColor property.
Enjoy the post ! comments are welcome for queries ..