Dear Jan,
I was trying the newly added tabColor function, and though I can query the
current tab colour, I cannot seem to set one. I used the following piece of
VBScript code to test the function:
Sub ColourTabs
Dim intIndex, objEditor
Set objEditor = NewEditor()
For intIndex = 0 To editorsCount - 1
objEditor.assignEditorByIndex(intIndex)
objEditor.activate
MsgBox(objEditor.tabColor())
objEditor.tabColor("C0C0C0")
Next
End Sub
This function walks through all the open tabs, displays a message box with the
tab's current colour, and then set it to light grey. Only the tabs do not turn
the grey colour, although when I right-click them to set the colour manually,
the colour seems to be set. Just not visibly.
Did I overlook something?
--
<http://forum.pspad.com/read.php?2,68961,69096>
PSPad freeware editor http://www.pspad.com