Hi,
The customer uses Android devices.
They would like to detect Back button on Android is tapped and invoke some action.
I found the similar topic which is talking about online form(http://longrange.lansa.com.au/viewtopic ... 406&p=1251).
Is it possible to implement this on offline formview as well?
Best Regards,
Megumi Sawada
(RDMLX) Back button on Android - offline
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: (RDMLX) Back button on Android - offline
Hi Megumi,
The same technique (as described in that post) should work for offline forms.
You can directly link your back button menu item with the target (offline) form, or alternatively you can send a PerformAction operation.
If you are sending a PerformAction operation, your offline form needs to handle the 'OnAction' event (see the documentation page for Form.OnAction).
Generally you would have an ECL script handling the 'OnAction' event (by hooking up the 'OnAction' event with an ExecScript operation).
The same technique (as described in that post) should work for offline forms.
You can directly link your back button menu item with the target (offline) form, or alternatively you can send a PerformAction operation.
If you are sending a PerformAction operation, your offline form needs to handle the 'OnAction' event (see the documentation page for Form.OnAction).
Generally you would have an ECL script handling the 'OnAction' event (by hooking up the 'OnAction' event with an ExecScript operation).
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: (RDMLX) Back button on Android - offline
Hi Tony,
Thank you!
I'll check Form.OnAction.
Best Regards,
Megumi
Thank you!
I'll check Form.OnAction.
Best Regards,
Megumi