FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrowse problems with drop downs
Posts: 23
Joined: Thu Aug 30, 2007 08:52 AM

XBrowse problems with drop downs

Posted: Sun Oct 28, 2007 05: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.

Posts: 23
Joined: Thu Aug 30, 2007 08:52 AM

XBrowse problems with drop downs

Posted: Mon Oct 29, 2007 07:08 AM

Sorry, that should be line 4386.

Regards
Alex

Continue the discussion