FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TFolder question
Posts: 17
Joined: Thu Feb 28, 2008 06:56 PM
TFolder question
Posted: Tue Sep 06, 2016 07:13 PM

Is it possible to control the color of the folder tab prompt in order to make the active folder tab more visible.

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TFolder question
Posted: Tue Sep 06, 2016 07:40 PM

You may use TFolderEx

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 17
Joined: Thu Feb 28, 2008 06:56 PM
Re: TFolder question
Posted: Thu Sep 08, 2016 07:07 PM

Is there a simpler option? We already have the Tfolder class in use and would be a major effort to rewrite.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: TFolder question
Posted: Thu Sep 08, 2016 10:23 PM

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
Posts: 17
Joined: Thu Feb 28, 2008 06:56 PM
Re: TFolder question
Posted: Fri Sep 09, 2016 06:55 PM

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?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: TFolder question
Posted: Fri Sep 09, 2016 08:16 PM
Perry,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion