AI2:Tips and Tricks:Force screen refresh during development

382 views
Skip to first unread message

Scott Ferguson

unread,
Mar 6, 2014, 9:33:37 AM3/6/14
to

When working with the Companion app, I needed to test a procedure to center the screen title. When I would adjust values in the procedure, the Companion app did not refresh to show the changes. In order to make it do so:


If you have any components in the project that can be set to Enabled false, then uncheck the Enabled property then recheck it -- the app will refresh.


If you have just  a Canvas or other component which does not have an Enabled property, then you can ...

  1. Dragged and drop a Notifier component onto the Viewer screen. (This will not change the screen layout). The screen will refresh to show my changes.
  2. Delete the Notifier or toggle it's Enabled property
Note that this also works with the Clock component.

___

Scott

Scott Ferguson

unread,
Mar 6, 2014, 9:34:39 AM3/6/14
to app-inventor-de...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages