TFolder question

Post Reply
Perry Nichols
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

TFolder question

Post 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.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TFolder question

Post by cnavarro »

You may use TFolderEx
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Perry Nichols
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

Re: TFolder question

Post by Perry Nichols »

Is there a simpler option? We already have the Tfolder class in use and would be a major effort to rewrite.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TFolder question

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Perry Nichols
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

Re: TFolder question

Post 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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TFolder question

Post by Antonio Linares »

Perry,

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

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply