Hai Friends,
Iam doing project in J2ME,
in MIDlet Form i append three textfields , one CustomItem control, how to setfocus(to set focus in second textfield when starting project) and to get focus(Currently Selection in which control).
i doknow hot to get focus. please help me for this problem.
gitech
0
Newbie Poster
Recommended Answers
Jump to PostAs far I know this is not possible through use of Form at the present state (maybe new release of SDK 3.0 will give as more options). Only open option is Canvas and re-draw and recreate whole functionality. Question, is it worth it?
PS: Maybe this is possible with …
Jump to PostNice one, I was not aware of
setCurrent(Item item)
method onlysetCurrent(Displayable nextDisplayable)
. However reading API it says "Requests that the Displayable that contains this Item be made current, scrolls the Displayable so that this Item is visible, and possibly assigns the focus to this Item."
It more or …
All 5 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
gitech
0
Newbie Poster
gitech
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
ganeshharidas
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.