How can I set header tab size.

How can I set header tab size.

Postby dutch » Mon Sep 03, 2007 10:35 am

I would like to set fix header length size of each tab. I try ::nTabSize but it's not successful. How can I set it?

Thanks&regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Mon Sep 03, 2007 10:56 am

Dutch,

Afaik, it is not possible. ::nTabSize keeps the height of the tabs, to properly set the dialogs origin (0,0).
regards, saludos

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

Postby dutch » Mon Sep 03, 2007 12:35 pm

Dear Antonio,

I mean the Tab Header as following image.

Image

Thanks&Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby driessen » Mon Sep 03, 2007 12:49 pm

I experienced that the size of the header is depending on the length to its title.

So, maybe enlarging the title (it is possible to add some spaces - it works OK) might give you a solution.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Maurizio » Mon Sep 03, 2007 4:56 pm

I use

oFld:nFdHeight := 35

regards MAurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Mon Sep 03, 2007 5:09 pm

Dutch,

Michel solution (adding spaces) looks as a good solution
Last edited by Antonio Linares on Mon Jun 23, 2008 11:51 am, edited 1 time in total.
regards, saludos

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

Postby dutch » Tue Sep 04, 2007 3:28 am

Dear Maurizio & Antonio,

- oFld:nFdHeight is not fix Tab Header Width.
- Add space is not fixed correctly even use Courier FONT but this is the best way we can now.

Thanks & regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests