Is there a way to change the background colour of the tooltips from it default colour of yellow, to just white?
Thanks
Simon
Change colour of tooltip...
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Change colour of tooltip...
Hello Simon,
Well, by default the tooltip color is COLOR_INFOBK. You can changed it by using the "tip" id in the theme.
Cheers,
Alex
Well, by default the tooltip color is COLOR_INFOBK. You can changed it by using the "tip" id in the theme.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 510
- Joined: Sat May 16, 2009 1:55 pm
Re: Change colour of tooltip...
Alex,
I have tried there following, but with no effect, was this what you were referring to?
Thanks
Simon
I have tried there following, but with no effect, was this what you were referring to?
Code: Select all
Dim pr As PDFXEdit.ICabNode = Me.docPreview.Inst.Settings("CustomUI")
Dim clrArr As PDFXEdit.ICabNode = pr("Colors")
SetCustColor(clrArr, "base", "rgbd(255,255,255)")
SetCustColor(clrArr, "face", "rgbd(255,255,255)")
SetCustColor(clrArr, "window", "rgbd(255,255,255)")
SetCustColor(clrArr, "main.bg", "rgbd(255,255,255)")
SetCustColor(clrArr, "dlg.bg", "rgbd(255,255,255)")
SetCustColor(clrArr, "pg.bg", "rgbd(255,255,255)")
SetCustColor(clrArr, "hot", "rgbd(205,230,247)")
SetCustColor(clrArr, "tip", "rgbd(255,255,255)")
Code: Select all
Private Sub SetCustColor(clrArr As PDFXEdit.ICabNode, clrID As String, clrVal As String)
Dim cnt As Integer = clrArr.Count
Dim clr As PDFXEdit.ICabNode = Nothing
For i As Integer = 0 To cnt - 1
Dim it As PDFXEdit.ICabNode = clrArr(i)
Dim id As String = it("ID").[String]
Console.WriteLine(id.ToString & " " & clrID.ToString)
If clrID = id Then
clr = it
Exit For
End If
Next
If clr Is Nothing Then
clr = clrArr.Add()
If clr Is Nothing Then
Return
End If
End If
clr("ID").v = clrID
clr("Value").v = clrVal
End Sub
Simon
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Change colour of tooltip...
Hello Simon,
Also try changing the tip.dark and tip.light colors.
Cheers,
Alex
Also try changing the tip.dark and tip.light colors.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 510
- Joined: Sat May 16, 2009 1:55 pm
Re: Change colour of tooltip...
Alex,
I have tried this and it seems to make no change to the tooltip
Any ideas?
Thanks
Simon
I have tried this and it seems to make no change to the tooltip
Code: Select all
SetCustColor(clrArr, "tip", "rgbd(255,255,255)")
SetCustColor(clrArr, "tip.dark", "rgbd(255,255,255)")
SetCustColor(clrArr, "tip.light", "rgbd(255,255,255)")
Thanks
Simon
-
- User
- Posts: 510
- Joined: Sat May 16, 2009 1:55 pm
Re: Change colour of tooltip...
Sorry Alex, this does work. I was resetting the PDF Xchange settings in the wrong order
Thanks
Simon
Thanks
Simon
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Change colour of tooltip...
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ