XBROWSE ::nHeaderLines

XBROWSE ::nHeaderLines

Postby byte-one » Tue May 15, 2018 12:54 pm

It seems, that oBrw:nHeaderLines not functioning. oBrw:nHeaderHeight is OK.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE ::nHeaderLines

Postby ShumingWang » Tue May 22, 2018 9:56 am

:nHeaderLines := 2
:nDataLines := 2
both work!

Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: XBROWSE ::nHeaderLines

Postby byte-one » Tue May 22, 2018 12:25 pm

What FWH-Version you are using?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE ::nHeaderLines

Postby nageswaragunupudi » Tue May 22, 2018 3:03 pm

Just now I tested and nHeaderLines is working.
Can you give me a sample where it is not working?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBROWSE ::nHeaderLines

Postby byte-one » Tue May 22, 2018 7:24 pm

After tests i see: When i use :nHeaderlines after ::nHeaderheight then :nHeaderlines is not functioning. I use in general for all xBrowses a function to set some parameters for xBrowse.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE ::nHeaderLines

Postby nageswaragunupudi » Tue May 22, 2018 9:11 pm

nHeaderLines and font height are used to compute total height of header, if the programmer did not specify nHeaderHeight himself. So, nHeaderHeight overrides.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 45 guests