Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsPropertiesMBS.Close
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 17.5 No Yes No No No
Function: Closes properties.
Notes: Same as destructor.

Feedback, Comments & Corrections

WindowsPropertiesMBS.Commit
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 17.5 No Yes No No No
Function: Commits values.
Notes:
Optional as window properties are set directly.
LastError and LastErrorMessage are set.

Feedback, Comments & Corrections

WindowsPropertiesMBS.Constructor(Win as Window)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 17.5 No Yes No No No
Function: Retrieves an object that represents a specific window's collection of properties, which allows those properties to be queried or set.
Notes:
Requires Windows 7 or Windows Server 2008 R2 or newer.

An application can use this function to obtain access to a window's property store so that it can set an explicit Application User Model ID (AppUserModelID) in the System.AppUserModel.ID property.

Raises FunctionNotFoundException if function is not available, PlatformNotSupportedException if not running on Windows, NilObjectException if window is nil or invalid and UnsupportedOperationException if Window properties can't be queried.

Feedback, Comments & Corrections

WindowsPropertiesMBS.Count as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 17.5 No Yes No No No
Function: Queries number of values.
Example:
dim w as new WindowsPropertiesMBS(self)

// show all keys with values
dim c as integer = w.count
for i as integer = 0 to c-1
dim k as string = w.key(i)
MsgBox k+" "+w.Value(k)
next
Notes: LastError and LastErrorMessage are set.

Feedback, Comments & Corrections

WindowsPropertiesMBS.Key(Index as Integer) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Windows MBS Win Plugin 17.5 No Yes No No No
Function: The key with given index.
Notes:
Index from 0 to Count-1.
Keys are passed as UUID followed by property ID.
LastError and LastErrorMessage are set.

Feedback, Comments & Corrections

WindowsPropertiesMBS.Value(Key as String) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Windows MBS Win Plugin 17.5 No Yes No No No
Function: Set or query property value.
Example:
dim w as new WindowsPropertiesMBS(self)

// show all keys with values
dim c as integer = w.count
for i as integer = 0 to c-1
dim k as string = w.key(i)
MsgBox k+" "+w.Value(k)
next
Notes:
Keys are passed as UUID followed by property ID.
LastError and LastErrorMessage are set.
(Read and Write computed property)

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.




Links
MBS FileMaker Plugins