Robert Harrington
Posts: 0
Joined: Thu Aug 07, 2014 6:25 pm

Making a Non-Visible Component Visible upon a Service Being Invoked (WeatherApp tutorial)

Hi,
I am working on the WeatherApp tutorial and everything works perfectly except I am having trouble at the very end displaying the weather image/icon when the image component is marked as "not visible" (meaning the "Visible" box is unchecked).

When the "Visible" box is checked, it works properly (except, of course there is an image placeholder). When I uncheck the "Visible" box and click the button in test mode, the temperature is displayed but not the weather icon. Can you let me know what I am doing incorrectly?

I have shared my app with appery support - it is called WeatherApp.

Thanks,
Rob

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Making a Non-Visible Component Visible upon a Service Being Invoked (WeatherApp tutorial)

HI Robert,

Please use this code to make a component visible:preApperyio("componentName").show();/preAnd invisible:preApperyio("componentName").hide();/pre

Return to “Issues”