FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ERROR In xBrowse 10.4
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
ERROR In xBrowse 10.4
Posted: Thu May 13, 2010 11:49 PM
Hello all,

There's a runtime error on xBrowse Line# 9179 with these condition:

line:9178 to 9179
Code (fw): Select all Collapse
...
           if ::lBtnTransparent
              ::oBtnElip:SetColor( aColors[ 1 ],aColors[ 2 ] )
...


In my .prg
Code (fw): Select all Collapse
...
 aRowGrad := { { .5, RGB( 232, 241, 252 ), RGB(  232, 241, 252 ) }, ;
               { .5, RGB( 210, 225, 244 ), RGB(  235, 243, 253 ) } }

 aSelGrad := { { .5, RGB( 255, 255, 251 ), RGB( 255, 237, 178 ) }, ;
               { .5, RGB( 255, 218, 103 ), RGB( 255, 233, 162 ) } }
...
      :bClrSel          := { || {CLR_BLACK, CLR_YELLOW} }

      :bClrSelFocus     := { || { CLR_BLACK, aSelGrad } }
      :bClrRowFocus     := { || { CLR_BLACK, aRowGrad } }

      :bClrHeader       := {|| {CLR_BLACK, nRGB(196,225,255),nRGB( 125, 165, 224 ), nRGB( 203, 225, 252 )} }
      :bClrFooter       := :bClrHeader
...
:nMarqueeStyle := MARQSTYLE_HIGHLROWRC
...
:aCols[ 1 ]:lBtnTransparent := .T.
...


This error triggers if nMarqueStyle := MARQSTYLE_HIGHLROWRC and oCol:lBtnTransparent := .T.

BUG? or my faulty declarations :-)


Any workaround?


Regards,
Frances
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: ERROR In xBrowse 10.4
Posted: Fri May 14, 2010 03:33 AM

As of now, lBtnTransparent can not be used with Gradient Row background.

In the code, ::oBtnElip:SetColor( aColors[ 1 ],aColors[ 2 ] ), aColors[ 2 ] is expected to be a solid color but not an array.

This is an undocumented limitation as of now.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion