BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-31-2006, 05:29 PM   #1
PastAustin
New Member
 
Join Date: May 2005
Model: 7100T
Posts: 5
Question Screen Modification

Please Login to Remove!

I am developing an application for the company I work for and they asked me if it was possible if included in this application or as an additional project I could modify the appointment creation screen so that the notes were at the top instead of the bottom. I told them I was not sure but I would see if I could find a way.

Now I am quite familiar with Java and have developed several applications using many other JDEs but I cannot for the life of me figure out how I could possibly modify these screens if it is possible at all.

Any help would be fantastic. Thank you.
Offline  
Old 11-01-2006, 08:56 AM   #2
PastAustin
New Member
 
Join Date: May 2005
Model: 7100T
Posts: 5
Cool hmmm....

Questions usually seem to get answered pretty quickly on here. Does no one know of a way to do this or do I need to rephrase my question?
Offline  
Old 11-01-2006, 03:32 PM   #3
adwiv
Thumbs Must Hurt
 
Join Date: Oct 2006
Model: 8707g
Carrier: Hutch
Posts: 73
Default

Do you mean you "really" want to modify the default "New Appointment" screen?
You cannot! At least not in a straight forward way that will be acceptable to most clients.
Why not create a new "New Appointment" screen and add a new menu item to the calender view.
Offline  
Old 11-01-2006, 03:39 PM   #4
PastAustin
New Member
 
Join Date: May 2005
Model: 7100T
Posts: 5
Default

Quote:
Originally Posted by adwiv
Do you mean you "really" want to modify the default "New Appointment" screen?
You cannot! At least not in a straight forward way that will be acceptable to most clients.
Why not create a new "New Appointment" screen and add a new menu item to the calender view.
I do mean I want to actually modify the "New Appointment" screen. It IS possible?

I have considered creating my own "New Appointment" screen and overriding the old one but modifying the old one seems easier. Am I incorrect?
Offline  
Old 11-01-2006, 05:49 PM   #5
adwiv
Thumbs Must Hurt
 
Join Date: Oct 2006
Model: 8707g
Carrier: Hutch
Posts: 73
Default

First of all, the Calendar application is not a part of the API. So, you can not extend it in any other way except by inserting your custom menu. So IMO you have two options -
1. Add an ApplicationMenuItem for MENUITEM_CALENDAR , and create your own "New Appointment" screen.
OR
2. Add the ApplicationMenuItem to for MENUITEM_CALENDAR_EVENT screen. Once the New Appointment screen opens, the user will have to click on your menu item. In the run method of the menuitem, get the current active screen, get a handle to the notes field, delete it from the screen and then insert it at the location you want.
Code:
Screen s = UiApplication.getUiApplication().getActiveScreen();
Field notefield = s.getField(index);
s.delete(notefield);
s.insert(notefield, newindex);
As I said, its not neat. But it is certainly possible.
And you can not do these modifications without the user clicking on your menu item.
Offline  
Old 11-01-2006, 05:52 PM   #6
kevin.ross
Knows Where the Search Button Is
 
kevin.ross's Avatar
 
Join Date: May 2006
Location: Franklin, Tennessee
Model: 8300
Carrier: AT&T
Posts: 42
Default

As far as I am aware, it is very difficult if impossible to intercept *most* of the functions that RIM already has in place for the default applications. You can of course add your own menu items to trigger your own screen, but I would say with a high level of confidence that you cannot override the menu item action. This is mainly due to the fact that you do not control the screen, therefore you also don't control menu creation. At that level, you can merely participate with your own menu item.

I'm not the absolute authority, but I think that is the best answer you'll get without paying for RIM support.
__________________
Kevin Ross | Metova | www.metova.com
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Lot of 10 Samsung iDCS 28D Business Telephones with Stands markystore picture

Lot of 10 Samsung iDCS 28D Business Telephones with Stands markystore

$150.00



Genuine SAMSUNG Range Oven Relay Board DG92-01207D picture

Genuine SAMSUNG Range Oven Relay Board DG92-01207D

$99.95



New In Box SAMSUNG LTM170EU-L31 LCD Display Panel 17

New In Box SAMSUNG LTM170EU-L31 LCD Display Panel 17"

$188.88



Samsung, PT212ATP, Integrated Circuit, New, Lot of 13 picture

Samsung, PT212ATP, Integrated Circuit, New, Lot of 13

$195.00



New In Box SAMSUNG LTM190E4-L02 19

New In Box SAMSUNG LTM190E4-L02 19" TFT Panel LCD Screen Display

$140.67



Samsung HM70a Cart Board picture

Samsung HM70a Cart Board

$300.00







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