Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
james
Creator III
Creator III

Change background color on PopUp?

All- Is it possible to chnag ethe backround color, ext etc on a popup>?

ActiveDocument.ShowPopUp "Test",2500

I would love to be able to have the background Dark Blue and the text white...

Cheers



4 Replies
Not applicable

You can add a colorindex after the timeout parameter, but i'm not sure what the possible colors are.


ActivDocument.ShowPopUp Text,Timeout,Background Colorindex, Text Colorindex

Try:
ActiveDocument.ShowPopUp "Test", 2500, 3, 1


regards Mark

james
Creator III
Creator III
Author

Thanks.....

I was reading the QV ref Guides about this and it doesn't appear you can format the text. I.e. underline or bold portions of the pop up... Anyone know if this is true or if it can be done?

disqr_rm
Partner - Specialist III
Partner - Specialist III

Here are the possible values - from APIGuide:

ParameterNoParameterTypeDirectionComment
1TextStringinPop-up text
2TimeoutIntegerin, optionalTime-out in milliseconds
3BkgColorIdxIntegerin, optionalPop-up background color (index) 0 = yellow 1 = white 2 = gray 3 = blue 4 = pink
4TxtColorIdxIntegerin, optionalPop-up text color (index) 0 = black 1 = white
5IconIdxIntegerin, optionalPop-up icon (index) 0 = no icon 1 = info 2 = questionmark 3 = warning 4 = error


Not applicable

Are you sure that we only can custom popups with so few options? Is there any advanced options?

Kind regards

TMF