Asked — Edited
Resolved Resolved by DJ Sures!

Help With Show Control On Mobile App

Good Afternoon,

I am trying to get a better understanding of the show control command. showctrlhelp.EZB

I have a Main Mobile Interface App window with a button. When I click it I want to show the other window which is labeled My mobile Interface 2. Please take a look.

Thanks


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#1  

I think the code your using is what i would have done.

Maybe someone has tried this and know if its possible on the mobile view.

PRO
Synthiam
#2  

Review the tutorial: https://synthiam.com/Tutorials/Lesson/23

Using the "Cheat Sheet" tab when editing a script for the button will show you all of the commands for ControlCommand, and other shortcuts. In this case, your "ShowControl()" will be there for the other control.

#3  

@luis Have you downloaded the sample ezb I posted? When you click the button, does it show the other window. It does not show for me. confused

#4  

@dj I followed the script as stated. What am I doing wrong? Could someone take a look at what I have written?

PRO
Synthiam
#5  

The ShowControl() only works on a mobile device. The EZ-Script manual explains..

Quote:

ShowControl( ControlName ) Used for mobile devices and the Interface Builder only, this command will open the specified control into the foreground. Example: ShowControl(Wii Remote)

Review the tutorial: https://synthiam.com/Tutorials/Lesson/23

Using the "Cheat Sheet" tab when editing a script for the button will show you all of the commands for ControlCommand, and other shortcuts. In this case, your "ShowControl()" will be there for the other control.

  1. Edit the script for the button

  2. Press Cheat Sheet

  3. Select from the top of the list "ShowControl()" and find the one with your desired control in it

  4. Click the listing with the desired control

  5. Press the SAVE button to exit the script edit

  6. Press the SAVE button on the button in the mobile editor that you are editing

  7. Load the project on your mobile device

  8. Press the button that you edited the script for

  9. The control that you specified to display will show

#6  

When I tested your code . It worked fine for my device.

It is an HP 7" tablet with android on it.

I hope this helps.

#7  

Ok. I was trying to test on my laptop. Before I uploaded to the cloud.

Thank You all.