Scrollbar themed

Scrollbar themed

Postby Otto » Sat Nov 08, 2008 5:37 pm

Could someone please test the behavior of the scrollbars if you use a manifest?

Regards,
Otto


Code: Select all  Expand view
#include "FiveWin.ch"

//----------------------------------------------------------------------------//

function Main()

   local oWnd, oScr1, oScr2

   DEFINE WINDOW oWnd TITLE "ScrollBars"

   @ 2, 5 SCROLLBAR oScr1 OF oWnd ;
      ON UP   oScr1:GoTop() ;
      ON DOWN oScr1:GoBottom()

   @ 2, 15 SCROLLBAR oSrc2 OF oWnd ;
      ON UP   oWnd:Say( 2, 30, Time() ) ;
      ON DOWN oWnd:Say( 4, 30, "Hello!" )
     
@ 4, 20 SCROLLBAR oSbr HORIZONTAL SIZE 300, 30 ;
      ON DOWN MsgInfo( "Down" )
     
  oSbr:SetColor( nRGB( 54, 147, 255 ), nRGB( 128, 217, 255 ) )
   
   ACTIVATE WINDOW oWnd

return nil

Image
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby StefanHaupt » Mon Nov 10, 2008 8:56 am

Start:

Image


Clicking on the scrollbars

Image

And now, dbl-click on the horizontal scrollbar maximizes the window :o

Really curious
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Antonio Linares » Mon Nov 10, 2008 11:43 am

Otto, Stefan,

Here it is working fine. I don't see any errors, neither that the window gets maximized:

http://www.mediafire.com/?sharekey=74af ... 7a516548a8
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Mon Nov 10, 2008 5:15 pm

Hello Antonio,

thank you.

The maximized I don’t have.
But if you move over with the mouse the whole scrollbar changes the color.
And for a moment you have a blue field – all one color.
This looks in an application strange.

Regards,
Otto


Image
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby Otto » Mon Nov 10, 2008 10:03 pm

Hello Antonio,
could you please have a look at this video.
Here you can see what I mean.

Thanks in advance,
Otto

Video:
http://www.atzwanger-software.com/fw/wellness/wellness.html
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Tue Nov 11, 2008 8:33 am

Otto,

Yes, I have seen what you mean but it looks as a standard Windows behavior.

We don't do anything related to painting in that class.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Tue Nov 11, 2008 8:43 am

Hello Antonio,

thank you.

Now I tried using: oSbr1:lTransparent :=.t. and all is working as suspected.

Thanks in advance,
Otto
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 59 guests