Scrollbar wbrowse FIVEWIN and PPC

Scrollbar wbrowse FIVEWIN and PPC

Postby Otto » Wed Dec 31, 2008 9: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Scrollbar wbrowse FIVEWIN and PPC

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Scrollbar wbrowse FIVEWIN and PPC

Postby Otto » Thu Jan 01, 2009 6: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Scrollbar wbrowse FIVEWIN and PPC

Postby Antonio Linares » Thu Jan 01, 2009 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Scrollbar wbrowse FIVEWIN and PPC

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Scrollbar wbrowse FIVEWIN and PPC

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 29 guests

cron