---
title: "HiddenNavigator (Basic)"
canonical: "https://docs.cuesystem.com/space/CVCGC/402620434/HiddenNavigator%20(Basic)"
format: markdown
---
> Macro (toc)

---

# Description

HiddenNavigator is a control object mainly used for navigation between different FullScreenWindows or MessageBoxes without using regular NavigationBars. HiddenNavigator should be joined (by the Join property) with FullScreenwindows or MessageBoxes and it has function SetSelectedButton for opening the window with corresponding NavigationBarButtonID.

HiddenNavigator is an invisible object, it is visible only in design mode of Cue Visual Composer. That is why this object does not have functions for size and position setting.

![image](media://db018add-119c-4990-85ce-3f427453cfc6)

# Properties

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Behavior |
| DefaultButton | Long | Non-negative number | 1 | NavigationBarButtonID of window activated upon initialization of HiddenNavigator |

# Functions

## SetSelectedButton

This function opens joined window with corresponding NavigationBarButtonID, other joined windows have been closed. Windows with different Join will not be affected. Function opens window only if HiddenNavigator is placed on currently visible window. The function returns True on success or False if an error occurs (parameter is negative).

#### Syntax

```visualbasic
Function SetSelectedButton(newselectedbutton As Long) As Boolean
```

## GetSelectedButton

This function returns the value adjusted by SetSelectedButton function.

#### Syntax

```visualbasic
Function GetSelectedButton() As Long
```