FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Scrollbar wbrowse FIVEWIN and PPC
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Scrollbar wbrowse FIVEWIN and PPC
Posted: Wed Dec 31, 2008 09:52 PM

Is it possible to turn on scrollbar immediately.
I noticed that the scrollbar shows after you insert the second item.
Especially on the PPC this behavior disturbs the screen and the
application seems flickering and not solid.

Thanks in advance
Otto
Otto

Posts: 1067
Joined: Fri Oct 07, 2005 7:07 pm
Website Top

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scrollbar wbrowse FIVEWIN and PPC
Posted: Thu Jan 01, 2009 12:28 PM

Otto,

The scrollbar gets visible once there are two or more records to show.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Scrollbar wbrowse FIVEWIN and PPC
Posted: Thu Jan 01, 2009 06:55 PM

Hello Antonio,
Yes I noticed this. But the browser repaints and the applications seems for an enduser very unstable and flickering.
Therefore it would be better if the scrollbar would be there when starting the application.

Regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scrollbar wbrowse FIVEWIN and PPC
Posted: Thu Jan 01, 2009 09:33 PM

Otto,

In order to turn the scrollbar visible it needs to have a range different from 0,0.

Maybe a solution is to do a oBrw:oVScroll:SetRange( 0, 1 ) even if we just have one record to show

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Scrollbar wbrowse FIVEWIN and PPC
Posted: Thu Jan 01, 2009 11:53 PM

Hello Antonio,

Thank you for your help.

If I change the method I get what I want with FIVEWIN.

METHOD VSetRange() INLINE ::nVScrollPos := 1,;
iif(::nlen<2,;
::oVScroll:SetRange( Min( 1,1 ), Min( VSCROLL_MAXVALUE, 0)),;
::oVScroll:SetRange( Min( 1,::nLen ), Min( VSCROLL_MAXVALUE, ::nLen)))

But I don’t know how to link in the changed wbrowse.prg or an inherited one with the changed method in FWPPC.

Could you please show me how to compile and link in files in FWPPC.

I use UEStudio and setup in “Tool Configuration” C:\Fwppc\SAMPLES\Buildce.bat %P%N .

Buildce.bat is original FWPPC.

Thanks in advance

Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Scrollbar wbrowse FIVEWIN and PPC
Posted: Fri Jan 02, 2009 12:34 AM

Otto,

To test it simply compile and link wbrowse.prg as another prg of your application,

or just add it source code at the bottom of your main PRG

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion