xBrowse VScroll from Resource doesn't work without HScroll ?

xBrowse VScroll from Resource doesn't work without HScroll ?

Postby ukoenig » Wed Apr 04, 2012 9: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

Image

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

Image

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

Image

With a added HScroll, VScroll works as well.

Image

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

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

Postby nageswaragunupudi » Fri Apr 06, 2012 3: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby ukoenig » Fri Apr 06, 2012 3: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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

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

Postby nageswaragunupudi » Fri Apr 06, 2012 4: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Maurizio, nageswaragunupudi and 103 guests