EXPLORERBAR ERROR ON DIALOG

EXPLORERBAR ERROR ON DIALOG

Postby MdaSolution » Mon Jul 05, 2010 12:20 pm

I have on a dialo g 5 Panels
I not see the Vertical scroll bar I cannot scroll each panel

Image

on this application I use a dialog with style nor 4 and at right I use a normal xbrowse
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: EXPLORERBAR ERROR ON DIALOG

Postby MdaSolution » Mon Jul 05, 2010 11:51 pm

ANY SOLUTION ?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: EXPLORERBAR ERROR ON DIALOG

Postby Antonio Linares » Tue Jul 06, 2010 2:37 am

Silvio,

These changes are required in Class TExplorerBar:

Image

Image
regards, saludos

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

Re: EXPLORERBAR ERROR ON DIALOG

Postby MdaSolution » Tue Jul 06, 2010 9:25 am

Sorry Antonio,
I made your changes on class but it not run ok

Now I seeing a vertical scroll on the window after the xbrowse vertical scroll .. as you can see in this picture

Image

we want the vertical scrollbar where you can see the blue arrows
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: EXPLORERBAR ERROR ON DIALOG

Postby MdaSolution » Tue Jul 06, 2010 10:33 am

perhaps i made some changes but it not run also

I add a data

DATA lVScroll

METHOD New( nTop, nLeft, nWidth, nHeight, oWnd,lVScroll )

...
::lVScroll := lVScroll

..

::oVScroll := TScrollBar():WinNew( ,,, .t., self )
::oVScroll:SetRange(0,100)

return Self


METHOD Paint() CLASS TExplorerBar
local nMinTop := int(::nHeight / 2)
local nMaxBottom := int(::nHeight / 2)
local aInfo := ::DispBegin(), n, hBmpPanel

...

If ::lVScroll

if ! Empty( ::aPanels )
....


if nMinTop < 0 .or. nMaxBottom > ::nHeight
::oVScroll:SetRange( 0, 10 )
else
::oVScroll:SetRange( 0, 0 )
endif


endif


Image

IT create a scroll bar but the moviment not run ok
Wich changes we must make also ?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 124 guests