You Are Here:

Community: Developer Discussion Boards

#1 Old How to put action for default "Back" command in appuifw.Form - 2008-06-27, 06:48

Join Date: Jan 2008
Posts: 27
Location: Gurgaon, India
shail229's Avatar
shail229
Offline
Registered User
Each form (appuifw.Form) comes with two default commands "Save" and "Back". "Back" command is used to bring back the previous screen, but if the previous screen is also a form then the title of the screen remains same. So if I put my own "Back" command to take the appropriate action(go back to the previous form and also change the screen title appropriately), then there are two "Back" commands. Default "Back" command comes as the right soft key and my "Back" command come in a list of "Options", where "Options" is the left soft key. The problem is that how to remove default "Back" command or how to put my own action of back in the default "Back" command.

In short- there is a save_hook which can be used to put any action on "Save", similarly is there any back_hook which can be used to put any action on "Back"?
Reply With Quote

#2 Old Re: How to put action for default "Back" command in appuifw.Form - 2008-06-27, 06:58

Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by shail229 View Post
Each form (appuifw.Form) comes with two default commands "Save" and "Back". "Back" command is used to bring back the previous screen, but if the previous screen is also a form then the title of the screen remains same. So if I put my own "Back" command to take the appropriate action(go back to the previous form and also change the screen title appropriately), then there are two "Back" commands. Default "Back" command comes as the right soft key and my "Back" command come in a list of "Options", where "Options" is the left soft key. The problem is that how to remove default "Back" command or how to put my own action of back in the default "Back" command.

In short- there is a save_hook which can be used to put any action on "Save", similarly is there any back_hook which can be used to put any action on "Back"?
hi shail229
if you want to remove the back command on the right softkey then you better look out for the actual code for that form where there will be how to remove that back command


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: How to put action for default "Back" command in appuifw.Form - 2008-06-27, 07:05

Join Date: Jan 2008
Posts: 27
Location: Gurgaon, India
shail229's Avatar
shail229
Offline
Registered User
I have seen the source code, the whole code in C/C++. I am not very much comfortable with C/C++, but if there is no other way then I may have to think for that.
Reply With Quote

#4 Old Re: How to put action for default "Back" command in appuifw.Form - 2008-06-27, 07:23

Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by shail229 View Post
I have seen the source code, the whole code in C/C++. I am not very much comfortable with C/C++, but if there is no other way then I may have to think for that.
hi shail229
that correct if you want to change the back command you have to use the symbian c++
if you are really interested you can go for it.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#5 Old Re: How to put action for default "Back" command in appuifw.Form - 2008-06-27, 07:41

Join Date: Jan 2008
Posts: 27
Location: Gurgaon, India
shail229's Avatar
shail229
Offline
Registered User
If this is the only way then I probably have to go for that. Thanks for your reply.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This 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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia