[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/privacyprotection/cron/task/anonymize_ip.php on line 83: A non-numeric value encountered
Inoffizielles deutsches Xbase-Forum • XbpQuickBrowse and slidebar appaerance
Seite 1 von 1

XbpQuickBrowse and slidebar appaerance

Verfasst: Mi, 10. Aug 2022 13:21
von Stephan Borst
Hi all,

When I create a XbpQuickBrowse (with an Array) with only a small number of records,
the slide bar is nevertheless shown as if there are more records.
See attachment for an example.

Anyone with any ideas why this slidebar appears like that? And how to alter ?

Regards, Stephan

Re: XbpQuickBrowse and slidebar appaerance

Verfasst: Mi, 10. Aug 2022 13:34
von Tom
Use

Code: Alles auswählen

oMyQuickBrowse:vScrollObject:visible := .F.
before oMyQuickBrowse:Create(). If you use it afterwards, call oMyQuickBrowse:Configure().

Re: XbpQuickBrowse and slidebar appaerance

Verfasst: Mi, 10. Aug 2022 13:50
von Stephan Borst
Thanks Tom,

But that is what I call a work-around: hide the slidebar when you have less records to show then the
maximum number of records which can be shown on the display.
Nevertheless, it might work, but I get a dump when doing the :configure()

Xbase++ version : Xbase++ (R) Version 2.00.1079
Operating system : Windows 10 2009 Build 19043
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: O CLASS: XbpStatic
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: N
oError:cargo : NIL
oError:description : Object has no member with this name
oError:filename :
oError:genCode : 26
oError:operation : MaxRow
oError:osCode : 0
oError:severity : 2
oError:subCode : 2240
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from XBPMULTICELLCANVAS:ARRANGECHILDSVERTICAL(335)
Called from XBPMULTICELLCANVAS:SETSIZE(528)
Called from XBPMULTICELLCANVAS:CONFIGURE(180)
Called from (B)XBPQUICKBROWSE:CONFIGURE(559)
Called from XBPQUICKBROWSE:CONFIGURE(559)

Re: XbpQuickBrowse and slidebar appaerance

Verfasst: Mi, 10. Aug 2022 14:07
von Stephan Borst
What does work:

oXbpQuickBrowse:vScrollObject:configure()

Some more info on the slidebar: It seems as if this slidebar is configured
to always scroll the last record to the top of the XbpQuickBrowse.
(difficult to explain, but see the attachment).

I think this might be somehting for Alaska to figure this out !

Let us close this topic.

Regards, Stephan