babuhari123
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012
05:50 AM
How to Handle back button in romatekey
Hi Friends,
How to Handle Back Button in Remote Key In roPosterScreen and also in all screen
How to Handle Back Button in Remote Key In roPosterScreen and also in all screen
1 REPLY 1

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012
11:40 AM
Re: How to Handle back button in romatekey
Generally the isscreenclosed() event is what you need to handle. Here are some bits of code that might be helpful:
On roImageCanvas however, you are looking for msg.isRemoteKeyPressed():
else if msg.isscreenclosed() then
return -1
On roImageCanvas however, you are looking for msg.isRemoteKeyPressed():
if msg.isremotekeypressed() then
ndx=msg.getindex()
if ndx=0 or ndx=2 then
screen.close()
return -1
end if