ERROR In xBrowse 10.4

ERROR In xBrowse 10.4

Postby fraxzi » 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: Select all  Expand view

...
           if ::lBtnTransparent
              ::oBtnElip:SetColor( aColors[ 1 ],aColors[ 2 ] )
...
 


In my .prg
Code: Select all  Expand view

...
 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 :lol:


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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: ERROR In xBrowse 10.4

Postby nageswaragunupudi » Fri May 14, 2010 3: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
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial, Marc Venken and 112 guests