Alaska Software Inc. - Re: Browses
Username: Password:
AuthorTopic: Re: Browses
Andreas Gehrs-Pahl

View the complete thread for this message in:

Re: Browses
on Tue, 03 Mar 2015 16:04:01 -0500
Wolfgang,

>Ja, da funktioniert es auch nicht. Ich dachte, dass hätte schon mal 
>jemand bemerkt.

Ich habe keine Probleme mit dem Mausrad und es funktioniert mit allen meinen 
Browse Objekten (XbpBrowse und XbpQuickBrowse).

Was Du siehst ist wahrscheinlich der Effekt der neuen :NavigationMode 
Instanzvariable, die normalerweise die Konstante: XBPBRW_NAVIGATION_SYSTEM 
enthaelt. Mit diesem Wert wird sich die XbpBrowse wie die XbpQuickBrowse 
verhalten, und die ganze Seite wird nach open oder unten bewegt, waehrend 
der Cursor auf der selben Zeile bleibt. Wenn das Browse Objekt zu gross 
ist (oder zu wenig Zeilen existieren), dann wird nichts bewegt.

Wenn nur der Cursor bewegt werden soll (das alte XbpBrowse Verhalten), dann 
muss diese Instanzvariable zu: XBPBRW_NAVIGATION_1XCOMPATIBLE gesetzt 
werden. 

And now back to English. 

To get the old behavior, just add the following line to your code between 
the oBrowse := XbpBrowse():New(...) and the oBrowse:Create(...) lines:

oBrowse:NavigationMode := XBPBRW_NAVIGATION_1XCOMPATIBLE

That will do it.

Hope that helps,

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.Aerospace-History.net