DCBROWSE subclass and SORT

This forum is for eXpress++ general support.
Post Reply
Message
Author
Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

DCBROWSE subclass and SORT

#1 Post by Wolfgang Ciriack »

Hello Roger,
can you please check why the DCBROWSECOL SORT ... LEFTBUTTON has no effect when using
a DCBROWSE with SUBCLASS ?
Sorting in Header works only with right mouse button.
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCBROWSE subclass and SORT

#2 Post by rdonnay »

I would have to look at your subclass code.

You may be overriding the method that tests for the left button.

This is the code in _DCXBROW.PRG that enables left button usage:

Line 2836:

Code: Select all

IF Valtype(::sortBlock) = 'B'
  IF xOptions[6]
    ::heading:lbdown := _HeaderDown( oParent, self )
  ENDIF
  ::heading:rbdown := _HeaderDown( oParent, self )
ELSEIF ::noResize
ENDIF
The eXpress train is coming - and it has more cars.

Post Reply