|
-
Mar 11th, 2024, 01:52 AM
#10
Addicted Member
Re: NewTab: tab control for VB6
Dear Eduardo,
I found that:
The following works
ctab.TabCustomColor(1, ntCCForeColor) = vbGreen
ctab.TabCustomColor(1, ntCCForeColorTabSel) = vbRed
i.e. ForeColor is getting set correctly
But, the following does not work
ctab.TabCustomColor(1, ntCCBackColorTab) = vbRed
ctab.TabCustomColor(1, ntCCBackColorTabSel) = vbGreen
i.e. BackColor is not getting set at all.
Am I doing any mistake? Kindly let me know. ctab is a normal NewTab only (i.e. TDIModeNone). Actually, with TDIModeForms also, I could not set the backcolor.
By the way, if at all possible, kindly make ntCCBackColorTab as default for the 2nd param of TabCustomColor, so that I can just use ctab.TabCustomColor(1) = color. If you think ForeColor will be the one often used by users, then you can make that default too. Your decision, finally.
Thanks a TON, as always, for all that you are doing for us.
Kind Regards.
Last edited by softv; Mar 11th, 2024 at 01:59 AM.
Love is God . God is Love
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|