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
XbpQuickBrowse and slidebar appaerance
Moderator: Moderatoren
-
- Rookie
- Beiträge: 12
- Registriert: Mi, 15. Jun 2016 10:33
- Tom
- Der Entwickler von "Deep Thought"
- Beiträge: 9387
- Registriert: Do, 22. Sep 2005 23:11
- Wohnort: Berlin
- Hat sich bedankt: 103 Mal
- Danksagung erhalten: 362 Mal
- Kontaktdaten:
Re: XbpQuickBrowse and slidebar appaerance
Use
before oMyQuickBrowse:Create(). If you use it afterwards, call oMyQuickBrowse:Configure().
Code: Alles auswählen
oMyQuickBrowse:vScrollObject:visible := .F.
Herzlich,
Tom
Tom
-
- Rookie
- Beiträge: 12
- Registriert: Mi, 15. Jun 2016 10:33
Re: XbpQuickBrowse and slidebar appaerance
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)
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)
-
- Rookie
- Beiträge: 12
- Registriert: Mi, 15. Jun 2016 10:33
Re: XbpQuickBrowse and slidebar appaerance
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
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
- Dateianhänge
-
- slidebar2.jpg (42.62 KiB) 2183 mal betrachtet