questions about xbrowse to understand better

questions about xbrowse to understand better

Postby Silvio.Falconi » Tue Oct 18, 2022 9:32 pm

Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: questions about xbrowse to understand better

Postby nageswaragunupudi » Thu Oct 20, 2022 6: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
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: questions about xbrowse to understand better

Postby nageswaragunupudi » Thu Oct 20, 2022 6:45 pm

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

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

Re: questions about xbrowse to understand better

Postby Silvio.Falconi » Thu Oct 20, 2022 7: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: questions about xbrowse to understand better

Postby Silvio.Falconi » Thu Oct 20, 2022 7: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 :

Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 92 guests