Command |
SHOW |
|
|
Description |
Show a Page on the Display or reveal a hidden Group or Entity
This puts the selected page on the top layer of the screen.
If the HIDE() command has previously been used for an entity, it
will now appear on a page when the page is shown on the display.
SHOW(Page) can also be used to refresh a page if entities have changed.
Reserved names provide relative navigation when the name of a page may
not be known..
SHOW(PREV_PAGE); Show the page which launched the current page.
SHOW(THIS_PAGE); Refresh the current page
SHOW(Entity1, Entity2, Entity3...);; multiple show entities then refresh
current page |
|
|
Syntax/Parameters |
SHOW(Name) |
|
|
Options |
Smaller Pages / Pop Ups
Support for popup pages - ie smaller than 480 * 272.
When smaller page is displayed SHOW(SmallPage); it is overlayed onto the existing page which is then ‘frozen’.
Use SHOW(PREV_PAGE); to return.
SHOW(INT) - v49.03
Pending interrupts are now processed when an interrupt entity is unhidden.
All of the interrupts shown on the Int page are handled
SHOW() Groups of Entities - v49.51
Added array of pointer support to SHOW() commands.
This allows for groups of entities to be shown on a page by passing the
single name for the array of pointers.
VAR(group>"",PTR,3);
LOAD(group.0>"img1");
LOAD(group.1>"text1");
LOAD(group.2>"shape1");
SHOW(group);; // Show img1, text1, shape1 |
|
|
Example |
INT( intRs2, RS2RXC, fncRs2Rx ); // Create RS2 receive interrupt HIDE( intRs2 ); // Hide the interrupt
SHOW( intRs2 ); // Show (Enable) interrupt and process pending interrupts
If you don't want to process any pending interrupts when you show the interrupt then RESET the interrupt first
INT( intTmr0, TIMER0, fncTmr0 ); // Create RS2 receive interrupt
HIDE( intTmr0 ); // Hide the interrupt
RESET( intTmr0 ); // Clear any pending interrupts
SHOW( intTmr0 ); // Show (Enable) interrupt for future interrupts
|
|
|
Command |
HIDE |
|
|
Description |
Hide a Page, Group or Entity.
If the page on which a small sized page, group or entity is placed is
showing on the screen and the page refreshed, the named
page, group or entity will disappear from view.
Touch, external keys are disabled.
HIDE(Entity1, Entity2, Entity3...);; multiple hide entities
then refresh current page |
|
|
Syntax/Parameters |
HIDE(Name) |
|
|
Options |
HIDE(INT) - v49.03
Pending interrupts are now processed when an interrupt entity is unhidden.
All of the interrupts shown on the Int page are handled
HIDE() Groups of Entities - v49.51
Added array of pointer support to HIDE() commands.
This allows for groups of entities to be hidden on a page by passing the
single name for the array of pointers.
VAR(group>"",PTR,3);
LOAD(group.0>"img1");
LOAD(group.1>"text1");
LOAD(group.2>"shape1");
HIDE(group);; // Hide img1, text1, shape1 |
|
|
Example |
INT( intRs2, RS2RXC, fncRs2Rx ); // Create RS2 receive interrupt
HIDE( intRs2 ); // Hide the interrupt
SHOW( intRs2 ); // Show (Enable) interrupt and process pending interrupts
If you don't want to process any pending interrupts when you show the interrupt then RESET the interrupt first
INT( intTmr0, TIMER0, fncTmr0 ); // Create RS2 receive interrupt
HIDE( intTmr0 ); // Hide the interrupt
RESET( intTmr0 ); // Clear any pending interrupts
SHOW( intTmr0 ); // Show (Enable) interrupt for future interrupts |
|
|
|