Show Active Layer Only

 

Contents

This example demonstrates how to show active layer only, which does the same thing as we right-click on the layer icon on the upper-left corner of graph and choose Show Active Layer Only.

Example

void only_show_active_layer()
{
        GraphPage gp("Graph1");
        if( gp )
        {
                // to active graph window
                gp.CheckShowActivate();
        
                // execute the LabTalk command with the active graph window
                LT_execute("menu -e 37975;"); 
        }
}