Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator II
Creator II

pop up text box

how to create the pop up text box ?

thanks in advance

1 Solution

Accepted Solutions
gautik92
Specialist III
Specialist III

add macros by clicking ctrl+M

then add this script

Sub simpleMsgBoxVariableText ()

  msgText = "enter message watever you want ."

  Msgbox "Hello " & msgText

End Sub

click ok

then rightclick on tab->sheet properties ->Triggers->onactivate sheet->add action ->external->run macro->Macro name (simpleMsgBoxVariableText )

View solution in original post

12 Replies
Colin-Albert

Can you be more specific with your question.

  • Where do you want the pop-up text to show - in a chart, on its own?
  • What activates the pop-up?
qlikmsg4u
Specialist
Specialist

Alert is one option.

Check this create alerts in qlikview | Qlik Community

Anonymous
Not applicable

hi,

try:

Define Your Pop-Ups

or

On an object like a Chart you can, on the Caption tab, bottom right, enter Help Text.  This puts a ? on the Caption and one can hover over it to see the Help Text.

stephenedberkg
Creator II
Creator II
Author

i am using comparision analysis in sheet2.

if i go to sheet2 i want to display the popup 'select any brand' like

gautik92
Specialist III
Specialist III

add macros by clicking ctrl+M

then add this script

Sub simpleMsgBoxVariableText ()

  msgText = "enter message watever you want ."

  Msgbox "Hello " & msgText

End Sub

click ok

then rightclick on tab->sheet properties ->Triggers->onactivate sheet->add action ->external->run macro->Macro name (simpleMsgBoxVariableText )

engishfaque
Specialist III
Specialist III

Dear Stephen,

Here it is,

Message Box and Input Box - QlikView Macros.qvw

Kind regards,

Ishfaque Ahmed

stephenedberkg
Creator II
Creator II
Author

engishfaque


Thank you


I am using trial version so cant open that document


Could you explain here?

Colin-Albert

This does not need a macro.

You use an expression in the Conditional Show option on the text box properties, Layout tab.

Use the Conditional Show expression.

        If( GetFieldSelections(YourFieldName) >0, 0, 1)

This will hide the text if nothing is selected in YourFieldName.

Colin-Albert

This does not need a macro.

I suggest you read this post explaining why you should avoid the use of macros in QlikView.Macros are Bad