cancel
Showing results for 
Search instead for 
Did you mean: 

Unable side menu on Zebra - RF - Personas

deiamolina
Active Participant
0 Kudos
287

Hi Community,

Is there any way to hide the side menu that appears in Slipstream Personas when the user holds the cursor in the text field on the Zebra handheld?

2024-09-09_14h32_25.png

Thanks

Andrea

View Entire Topic
tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes, if you are OK with disabling the right-click context menu (since that is what appears). To do this, you need to run the following script command:

session.findById("wnd[0]/usr/mnu").hide();
You could add this as part of the onLoad script for the screen.
deiamolina
Active Participant
0 Kudos

Hi Tamas,

Thanks for the quick feedback

I have added this code as per your suggestion on the onLoad event and I am getting the following message: Property 'hide' does not exist on type "IGuiComponent"'.

deiamolina_0-1726139850829.png

I get this error message A LOT when I work with RF tcodes.

How do I fix it?
Thanks

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes, apparently the editor's syntax check does not see certain properties of objects because they are not exposed. You cannot fix this yourself; this would need a fix from the Personas client side. However, the command will still work.

deiamolina
Active Participant
0 Kudos

Hi Tamas.
It worked, thanks. The only issue is that I need to add the script to all screens and to do that I need to reach and map all fields and screens.... Is there a way to not focus on the text field but use a condition on the URL instead? This would affect all the screens.

Thanks

deiamolina
Active Participant
0 Kudos

Hi Tamas. It worked, thanks.