Screen Development With Dialog Extended Class
1 Attachment(s)
I have developed a Screen as shown in the Image. I want the screan layout and extent to fit around the periferi of the red rectangle. If I try to do so using overriden sublayout and getPreferredHeight(), and getPreferredWidth(),
The area inside outer red rectangle wipes out though the screen of this shape is created. Please assist me how to create a screen to have my Dialog Box customised like this. I cannot find the solution to this in KB Regards |
Ok I Have these Already in My knowledge Bank, I want more..
Code:
Important Notes On BlackBerry |
Ok, Got the solution : just use the paintBackground and add your controls.
you can use getClippingRect of Graphics to draw any thing in the visible reagion. No need to add separate Vertical or HorizontalFieldManager to layout the fields as this is inbuilt. if you end the Paint.. function with the setColor(someColor); then the labels of your added editField are shown with that color. Regards |
good post
|
All times are GMT -5. The time now is 05:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.