FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse VScroll from Resource doesn't work without HScroll ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

xBrowse VScroll from Resource doesn't work without HScroll ?

Posted: Wed Apr 04, 2012 09:36 AM
Hello,

testing the same Controls from Code and Resources,
I noticed a problem in xBrowse with VScroll from RESOURCE.

From Code with NO HScroll, NO Problems



From Resource :
without Focus, the VScroll-button ( bottom ) is not visible.



xBrowse with Focus, shows the Button, but disabled and not working.



With a added HScroll, VScroll works as well.



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: xBrowse VScroll from Resource doesn't work without HScroll ?

Posted: Fri Apr 06, 2012 03:26 PM

Mr Uwe

When using resources, we also need to set lVScroll and lHScroll to .t. or .f. depending on whether the resource has VSCROLL / HSCROLL. Have you considered this aspect please?

Regards



G. N. Rao.

Hyderabad, India
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: xBrowse VScroll from Resource doesn't work without HScroll ?

Posted: Fri Apr 06, 2012 03:47 PM
Mr. Rao,

Thank You very much.
Yes, tested and works.

oBrw:lVScroll := .T.
oBrw:lHScroll := .F.

Both must be defined using Resources, even with NO visible HScroll inside the Resource.

Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: xBrowse VScroll from Resource doesn't work without HScroll ?

Posted: Fri Apr 06, 2012 04:06 PM
oBrw:lVScroll := .T.
oBrw:lHScroll := .F.

Both must be defined using Resources, even with NO visible HScroll inside the Resource.

Yes. Assignments to lVScroll and lHScroll in the code should match the style of the resource.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion