Application.TopMost Property

ClosedDescription

Sets or returns whether the BarTender application window is the topmost window on the screen.

ClosedSyntax

Application.ParentWindow = true|false

If true, the BarTender window will be topmost when it runs.

ClosedRequirements

Version

BarTender 9.2 or higher

Edition

Automation, Enterprise

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender variable

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.Visible = True

'Set BarTender as the top most application

btApp.TopMost = True

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// Declare a BarTender application variable

BarTender.Application btApp;

// Create a new instance of BarTender

btApp = new BarTender.Application();

// Set the BarTender application visible

btApp.Visible = true;

// Set BarTender as the top most application

btApp.TopMost = true;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics