BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-05-2009, 02:40 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Implement a Chat UI Screen

Please Login to Remove!

I want to implement a Chat UI screen like Google talk, BB messenger or Jivetalk. However, I got stuck by many problems.

I have two areas in the main screen.
--------------------
| RichTextField |
---------------------
| AutoTextEditField |
--------------------
Firstly, Everytime after user clicks enter key, I append the user input from AutoTextEditField to RichTextField, However, the RichTextField never scroll to the bottom. I have to move the focus from AutoTextEditField to RichTextField and scroll the trackball to scroll down to see the new append content.

2ndly, Even though I uses the VERTICALSCROLL|VERTICALSCROLLBAR for RichTextField, I couldn't see the SCROLLBAR on the screen.

I want to implement a screen similar to google talk or yahoo messenger. It seems my current solution is on the wrong track. Anyone who has experience on this could provide me some suggestion? or Sample code?

I really appreciate it.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.