# Version 2

{% hint style="info" %}
[<mark style="color:blue;">**BUY NOW**</mark>](#purchase) - **15 €**
{% endhint %}

**Current Version:** 2.0 (December 29, 2020)

{% tabs %}
{% tab title="macOS" %}
![macOS "Big Sur" 11](/files/-MPfYjhgDyaNYbVh4wa4)

![macOS "High Sierra" 10.13.6](/files/-MPfIj_97owxc0lT8Bmv)
{% endtab %}

{% tab title="Windows" %}
![Windows 10](/files/-MPfJ0OGF1c2JxyJi16M)
{% endtab %}

{% tab title="Linux" %}
![Deepin 15.11](/files/-LuE0lHp6IcGya5rEOw8)

![Mint Linux 19.3](/files/-MPfJ6tPuSZWI66m142b)

![Elementary OS 5.0 Juno](/files/-LP7S-dKHJZ02md1N9Vd)
{% endtab %}
{% endtabs %}

{% hint style="success" %}
The use of Xojo 2019r3+ is recommended.
{% endhint %}

{% hint style="danger" %}
Please do not use Xojo ~~2019r2~~. Use Xojo **2019r2.1** instead.
{% endhint %}

The classes enable a StackView, similar to Apple's [NSStackView](https://developer.apple.com/documentation/appkit/nsstackview), to be used natively across platforms (macOS, Windows, Linux) with the help of ContainerControls. New in this version is support for Microsoft Windows, which requires Xojo Release 2018.1 or higher, as this version takes big steps forward in reducing flickering under Windows. The StackView was tested under Windows 10. The demo project was optimized for all three platforms. If the project is executed or compiled for Windows, the method `PrepareForWindows` takes over all adjustments for the controls within the StackView to create a flicker-free version.

Under Linux, the controls of the demo project automatically adapt to the system sizes of the respective distribution.

{% embed url="<https://www.dropbox.com/s/o7ufgegbqj6galy/StackView%20DEMO.zip?dl=0>" %}
Demo-Project
{% endembed %}

## Purchase

Just write me a private message at the Xojo Forum (<https://forum.xojo.com/u/martin_t>) with your valid e-mail address. I’ll sent you the invoice about **15 €** and after purchasing via PayPal you’ll get the unencrypted source code.

## Worldwide

Xojo developers from all over the world already use the StackView classes. Be a part of it!

🇦🇺 Australia 🇧🇪 Belgium 🇨🇦 Canada 🇩🇰 Denmark 🇫🇷 France 🇩🇪 Germany 🇮🇹 Italy 🇳🇱 Netherlands 🇷🇴 Romania 🇪🇸 Spain 🇬🇧 United Kingdom 🇺🇸 USA

## User opinions

🇺🇸 *By David S. (16. SEP 2019)*

> Yours will be the very FIRST add-on that I actually will have bought, normally I write my own. ... I am liking this control 🙂

🇩🇪 *By Markus W. (03. JUL 2018)*

> Martin's StackView class is pure Xojo and uses three levels of ContainerControls. And with the improvements for Windows in Xojo 2018 R1.1 it doesn't flicker on Windows. And it works on Linux.

🇺🇸 *By Tim J. (07. JUN 2018)*

> I love this - Man, where were you 2 months ago? I've just completed my own implementation of something similar and your 15 Euros is a bargain compared to the hours that we spent ...


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xojo.gitbook.io/add-ons/stackview/version-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
