# FlatViewChangeData

If a [script add-in](../../../scripting/script_add-ins)implements the \*\*[OnFlatViewChange](../scripting_events/onflatviewchange)\*\*event, the method receives a **FlatViewChangeData** object when the [Flat View](../../../basic_concepts/flat_view) mode is changed in a tab.

| Property Name | Return Type             | Description                                                                                                                                                                                                                                                                                                          |
| ------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| mode          | _string_                | Returns a _string_ indicating the new Flat View mode. Will be one of _off_, _grouped_, _mixed_ or _mixednofolders_.                                                                                                                                                                                                  |
| qualifiers    | _string_                | <p>Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.<br>The string can contain any or all of the following: <em>shift</em> <em>ctrl</em>, <em>alt</em>, <em>lwin</em>, <em>rwin</em><br>If no qualifiers were down, the string will be: <em>none</em></p> |
| tab           | _object:_[**Tab**](tab) | Returns a [**Tab**](tab) object representing the tab the Flat View mode changed in.                                                                                                                                                                                                                                  |
