FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE ::nHeaderLines
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
XBROWSE ::nHeaderLines
Posted: 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
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: XBROWSE ::nHeaderLines
Posted: Tue May 22, 2018 09: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
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: XBROWSE ::nHeaderLines
Posted: Tue May 22, 2018 12:25 PM

What FWH-Version you are using?

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBROWSE ::nHeaderLines
Posted: Tue May 22, 2018 03: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
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: XBROWSE ::nHeaderLines
Posted: Tue May 22, 2018 07: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBROWSE ::nHeaderLines
Posted: Tue May 22, 2018 09: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

Continue the discussion