Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi All,
I have encountering the following problems.

1.About ITextCtl.
I am using 2 text control in one screen and sets the property TP_FRAME for both the controls.The problem is that whenever i move the next control the bounded boundry of the first text removes. I have tried with drawing rect around the text control but it also erased.How to set the boundry of a text control even if the it has no focus?
Also In using ITextCtl always gives BPOINT Type 3 with class Id AEECLSID_TEXTCTL_10, (using BREW SDK 3.1.5 SP001), How to resolve this? ;)

2.About Recursive calls.
Can we use recursive calls in our application. Is there is any problem by using recursive calls in the testing of the application (TBT)?

Help Appreciated !

Hi Prayag
1)U can use the TP_RAPID_MODE, this will not set the boundary rect of the text controls. Then u can create ur own outer rectangles for the 2 text controls.
Regarding the BPOINT TYPE 3, this used to happen only in Simulator for AEECLSID_TEXTCTL. I haven't tried the one which u have mentioned.
2) No idea abt the recursive calls.
Regards,
Akshay

Hi Prayag
1)U can use the TP_RAPID_MODE, this will not set the boundary rect of the text controls. Then u can create ur own outer rectangles for the 2 text controls.
Regarding the BPOINT TYPE 3, this used to happen only in Simulator for AEECLSID_TEXTCTL. I haven't tried the one which u have mentioned.
2) No idea abt the recursive calls.
Regards,
Akshay

1. Text control 2 is introduced in BREW 3.1.3. It maintains backward binary compatibility applets compiled using Text control 1. If an applet is compiled against a BREW version including and above 3.1.3, the newer text control will be picked up. The older behavior is now described by AEECLSID_TEXTCTL_10 if you wish to keep the older text control. Use AEECLSID_TEXTCTL.
2. Stack overflow may happen.

1. Text control 2 is introduced in BREW 3.1.3. It maintains backward binary compatibility applets compiled using Text control 1. If an applet is compiled against a BREW version including and above 3.1.3, the newer text control will be picked up. The older behavior is now described by AEECLSID_TEXTCTL_10 if you wish to keep the older text control. Use AEECLSID_TEXTCTL.
2. Stack overflow may happen.

Hi,
Thanks for your replies, but the problem still persist.
akshay1384 wrote:Hi Prayag
1)U can use the TP_RAPID_MODE, this will not set the boundary rect of the text controls. Then u can create ur own outer rectangles for the 2 text controls.
I have two text control on the screen and moving focus among them by handling EVT_CTL_TAB event.Initially I have sets the boundary of both text controls by setting the property TP_FRAME.
After entering text in first text when the user moves to the next text box the first one lots its boundary, and now only the focused text control have its boundry.
I want when the user input data in text control both the text control should have boundry and the focused text control have the curser.
is it is possible if yes please reply... :o

Hi,
Thanks for your replies, but the problem still persist.
akshay1384 wrote:Hi Prayag
1)U can use the TP_RAPID_MODE, this will not set the boundary rect of the text controls. Then u can create ur own outer rectangles for the 2 text controls.
I have two text control on the screen and moving focus among them by handling EVT_CTL_TAB event.Initially I have sets the boundary of both text controls by setting the property TP_FRAME.
After entering text in first text when the user moves to the next text box the first one lots its boundary, and now only the focused text control have its boundry.
I want when the user input data in text control both the text control should have boundry and the focused text control have the curser.
is it is possible if yes please reply... :o