Difference between revisions of "DesktopContainer.AllowAutoDeactivate"

From Xojo Documentation

(Created page with "N/A")
 
 
Line 1: Line 1:
N/A
+
{{PropertyBox
 +
| name=AllowAutoDeactivate
 +
| owner=[[DesktopContainer]]
 +
| ownertype=class
 +
| scope=public
 +
| type=[[Boolean]]
 +
| platform=all
 +
| newinversion=2021r3
 +
}}
 +
{{Description
 +
|text = Determines whether the container should be deactivated (on macOS) when the parent window is deactivated. }}
 +
 
 +
The default is [[True]].
 +
 
 +
==Example==
 +
 
 +
This example turns AllowAutoDeactivate off.
 +
 
 +
<rbcode>
 +
MyDesktopContainer.AllowAutoDeactivate = False
 +
</rbcode>
 +
 
 +
[[Category:API 2.0]]

Latest revision as of 19:11, 23 July 2021

Property (As Boolean )
aDesktopContainer.AllowAutoDeactivate = newBooleanValue
or
BooleanValue = aDesktopContainer.AllowAutoDeactivate

New in 2021r3

Supported for all project types and targets.

Determines whether the container should be deactivated (on macOS) when the parent window is deactivated.

The default is True.

Example

This example turns AllowAutoDeactivate off.

MyDesktopContainer.AllowAutoDeactivate = False