FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour questions about xbrowse to understand better
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
questions about xbrowse to understand better
Posted: Tue Oct 18, 2022 09:32 PM


this is an array and there is only ( at init) one row x 7 columns.

Questions

if there is only one line why do the lines go all the way to the bottom of the xbrowse? (1)

if there is a single line or several lines but these do not reach the bottom of the coordinates of the xbrowse why is there the vertical scrollbar? (2)

that is, the vertical scrollbar must take place when there is actually something below the last visible line

i.e. to better explain the vertical scroll it must appear as it happens in the tesplorerbar class i.e. it appears if we make the window smaller, even in xbrowse it must happen in this way also for the horizontal scroll

the same thing must be true for the record selector first column on the left
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: questions about xbrowse to understand better
Posted: Thu Oct 20, 2022 06:43 PM
if there is only one line why do the lines go all the way to the bottom of the xbrowse? (1)

Please see the DATAs
lRowDividerComplete
lColDividerComplete

By default both of them are .F.
Do not set any of them to .T.

Do not use LINES clause in XBROWSE definition
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: questions about xbrowse to understand better
Posted: Thu Oct 20, 2022 06:45 PM

When you do not want scrollbars, you may disable lHScroll or lVScroll

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: questions about xbrowse to understand better
Posted: Thu Oct 20, 2022 07:50 PM
nageswaragunupudi wrote:
if there is only one line why do the lines go all the way to the bottom of the xbrowse? (1)

Please see the DATAs
lRowDividerComplete
lColDividerComplete

By default both of them are .F.
Do not set any of them to .T.

Do not use LINES clause in XBROWSE definition


Sorry I forget them
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: questions about xbrowse to understand better
Posted: Thu Oct 20, 2022 07:52 PM
nageswaragunupudi wrote:When you do not want scrollbars, you may disable lHScroll or lVScroll

No sorry,
I meant that the scrollbar in this case the vertical one should be activated only when the lines exceed the height of the xbrowse control, as happens in the texplorer class

sample :



the rows of the table does not arrive at the end of the xbrowse control,
but it is possible see a vertical scroll bar that is commonly unusable because it is not possible to provide information on video.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion