Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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?
Here are the possible values - from APIGuide:
ParameterNo | Parameter | Type | Direction | Comment |
1 | Text | String | in | Pop-up text |
2 | Timeout | Integer | in, optional | Time-out in milliseconds |
3 | BkgColorIdx | Integer | in, optional | Pop-up background color (index) 0 = yellow 1 = white 2 = gray 3 = blue 4 = pink |
4 | TxtColorIdx | Integer | in, optional | Pop-up text color (index) 0 = black 1 = white |
5 | IconIdx | Integer | in, optional | Pop-up icon (index) 0 = no icon 1 = info 2 = questionmark 3 = warning 4 = error |
Are you sure that we only can custom popups with so few options? Is there any advanced options?
Kind regards
TMF