Page 1 of 1

TFolder question

Posted: Tue Sep 06, 2016 7:13 pm
by Perry Nichols
Is it possible to control the color of the folder tab prompt in order to make the active folder tab more visible.

Re: TFolder question

Posted: Tue Sep 06, 2016 7:40 pm
by cnavarro
You may use TFolderEx

Re: TFolder question

Posted: Thu Sep 08, 2016 7:07 pm
by Perry Nichols
Is there a simpler option? We already have the Tfolder class in use and would be a major effort to rewrite.

Re: TFolder question

Posted: Thu Sep 08, 2016 10:23 pm
by Antonio Linares
Perry,

Unfortunately the Windows standard Tab control does not allow to change the folder tab prompt color.

To use TFolderEx instead a TFolder, you only need to replace FOLDER with FOLDEREX in your PRGs and
replace "SysTabControl32" with "TFolderex" in your RC files. That simple.

Re: TFolder question

Posted: Fri Sep 09, 2016 6:55 pm
by Perry Nichols
Antonio,
We create the folder from source code not in Resource file. I am now using the TfolderEX class with no apparent changes. I am trying to use the painttabs per the samples without success. Our issue is the active folder tab is not different appearance than all other tabs - you can not tell the active folder. Any ideas?

Re: TFolder question

Posted: Fri Sep 09, 2016 8:16 pm
by Antonio Linares
Perry,

The active folder tab shows an horizontal line at the top with a certain color:

Image