Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is there a way to may the Popup on a macro so that it is always on top?

When I call a macro and show the return messsage, sometimes the popup comes up behind the browser window. Does anyone know if there is a property on the pop up window in the macro that I can set so that it cannot go behind the browser?

1 Reply
martinpohl
Partner - Master
Partner - Master

Hello Tom,

try this

sub box
msgbox "test",65536

end sub

here are the possible values, for combination add them.

Settings


The MsgBoxStyle enumeration values are listed in the following table.

MemberValueDescription

OKOnly

0

Displays OK button only.

OKCancel

1

Displays OK and Cancel buttons.

AbortRetryIgnore

2

Displays Abort, Retry, and Ignore buttons.

YesNoCancel

3

Displays Yes, No, and Cancel buttons.

YesNo

4

Displays Yes and No buttons.

RetryCancel

5

Displays Retry and Cancel buttons.

Critical

16

Displays Critical Message icon.

Question

32

Displays Warning Query icon.

Exclamation

48

Displays Warning Message icon.

Information

64

Displays Information Message icon.

DefaultButton1

0

First button is default.

DefaultButton2

256

Second button is default.

DefaultButton3

512

Third button is default.

SystemModal

4096

System is modal. All applications are suspended until the user responds to the message box.

MsgBoxSetForeground

65536

Specifies the message box window as the foreground window.

MsgBoxRight

524288

Text is right-aligned.