More xBrowse & 13.05 problem

More xBrowse & 13.05 problem

Postby TimStone » Wed Jun 12, 2013 11:55 pm

In the past, using the following syntax with an xBrowse, I can click on a header and reset the order of the index:

add to oLbxcl header "Account" data oCli:acrnum ALIGN CENTER ORDER "eclnum" SIZE 120

Now, this capability which has been working for years no longer responds to the mouse click !

I just released an update to my clients not knowing about this. A quick fix would be GREATLY appreciated.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: More xBrowse & 13.05 problem

Postby nageswaragunupudi » Thu Jun 13, 2013 3:52 am

Please apply this fix:
In xbrowse.prg, go to lines 5798. You will find this code:
Code: Select all  Expand view
  if ncOrder != nil
      oCol:cSortOrder := ncOrder
      if ::nDataType == DATATYPE_RDD .and. ! Empty( ::cAlias ) .and. SELECT( ::cAlias ) > 0
 

Please insert a new line
Code: Select all  Expand view

   ::lAutoSort   := .t.
 

after the line oCol:cSortOrder := ncOrder
The revised code should look like this:
Code: Select all  Expand view
  if ncOrder != nil
      oCol:cSortOrder := ncOrder
      ::lAutoSort     := .t.   // INSERTED NOW
      if ::nDataType == DATATYPE_RDD .and. ! Empty( ::cAlias ) .and. SELECT( ::cAlias ) > 0
 

Please let us know if the problem is fixed.
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], karinha, nageswaragunupudi and 116 guests