TFolder question

TFolder question

Postby Perry Nichols » Tue Sep 06, 2016 7:13 pm

Is it possible to control the color of the folder tab prompt in order to make the active folder tab more visible.
Perry Nichols
 
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

Re: TFolder question

Postby cnavarro » Tue Sep 06, 2016 7: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
User avatar
cnavarro
 
Posts: 6501
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TFolder question

Postby Perry Nichols » Thu Sep 08, 2016 7:07 pm

Is there a simpler option? We already have the Tfolder class in use and would be a major effort to rewrite.
Perry Nichols
 
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

Re: TFolder question

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TFolder question

Postby Perry Nichols » Fri Sep 09, 2016 6: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?
Perry Nichols
 
Posts: 17
Joined: Thu Feb 28, 2008 6:56 pm

Re: TFolder question

Postby Antonio Linares » Fri Sep 09, 2016 8:16 pm

Perry,

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

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests