XBrowse problems with drop downs

XBrowse problems with drop downs

Postby alexstrickland » Sun Oct 28, 2007 5:37 pm

Hi all

When I use a drop down list, and the list is "dropped down", if the user clicks anywhere else on the browse (that is, the drop down loses focus) then a gap is left on the browse (it does not refresh). You can see this in samples\testxbrw.prg (the "Bitmaps on browse" menu selection). It is much worse if the drop down is longer. The only way to cure it seems to be to scroll the offending column off the screen. XBrowse:refresh() does not seem to help. In the example a bitmap is displayed but it happens without a bitmap as well.

Any help appreciated.

Regards
Alex


PS, I think this line at about line 1251 in XBrowse.prg is wrong:

nAt := Ascan( ::aEditListBound, Eval( ::bEditValue ) )

I think it should be :

nAt := Ascan( ::aEditListTxt, Eval( ::bEditValue ) )

Without this the drop down does not select the current value in the browse cell.
alexstrickland
 
Posts: 23
Joined: Thu Aug 30, 2007 8:52 am

Postby alexstrickland » Mon Oct 29, 2007 7:08 am

Sorry, that should be line 4386.

Regards
Alex
alexstrickland
 
Posts: 23
Joined: Thu Aug 30, 2007 8:52 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: antolin, Google [Bot] and 58 guests