Navigation: Overview of Basic Principles >

Setting Control Order

 

 

 

 

All Controls may have their order (depth) set on all interfaces using the zOrder property for them. Controls with lower values will be drawn before controls with higher values. This helps placing controls on top of each other if desired.

 

This can be useful to place some controls over the plot itself. Turning off the Legend (showChLegend) leaves and open space which could be used. Note the when the plot refreshes it can cause the control to disappear as it is redrawn. For the control, enable zRepaint to force the control to repaint after the plot is redrawn. Textboxes on a plot will require the mouse to stay over it while changing values or the plot will grab focus.

 

For high data rates, the refreshTime of the plot can be set from 0 to a higher value, such as 1000, to limit the control flashing to once a second for example.

 

To change the order to place a control 'on top' of another, simply use a lower number, or simply 0 for zOrder. When the interface is redrawn or repainted, it draws from lowest to highest zOrder.

 

The interface is now saved in the order of the zOrder. The Interface Editor (F3) currently list them in order including under their corresponding interface. We will work on adding a 'move-up' 'move-down' and listing them in order as it is implemented.

 

 

 

 

 

 

 

Copyright © 2024 SelmaWare Solutions, LLC