11-15-2008 02:58 PM
Hello all, I was wondering whether anyone had any idea how to embed an Edit field in a Graphic, OR, add a border around said Edit Field. I'm trying to achieve a look similar to the sign-in screen on MSN Messanger for Blackberry (just as a reference).
Thank you for your help/time.
11-18-2008 06:24 AM
Thanks for posting this code zahidalinaqvi, I was interested to try it.
However it doesn't seem to work very well, and once I've scrolled into it, I can't get out. There are also a number of unusual things about it, for example:
1) public static EditField editField;
why is this public?
why is this static?
2) You seem to add a VerticalFieldManager, to a VerticalFieldManager, which seems unnecessary.
Can you tell us what you expect this Field to do and how we should use it?
Regarding the original post, I would start by doing something like the above, by painting the background image using the FieldManager paint method, adding the EditField to the FieldManager and postitioning the Field.
You can find out how to do all this by looking at threads on here and in the Developer KB. You might find the following useful:
How to - Create a custom layout manager for a screen
Article Number: DB-00117
How To - Create custom fields
Article Number: DB-00120
11-18-2008 07:06 AM
11-18-2008 07:41 AM
This is the running code and i simply copy and paste for you guys.
that why there is some unnessery things.
11-18-2008 07:43 AM
simply create object of this class and add on your screen.
it is something like framework of editfield thats why i created constructors.
11-18-2008 08:13 AM
i want to create my own framework so i can develop my bberry apps easily and fast.
if you have some custom component which can help me out then please mail me on email@example.com