View Issue Details

IDProjectCategoryView StatusLast Update
0005263JEDI VCL04 Feature Requestpublic2011-06-07 17:24
ReporterPhilnextAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.39 
Target VersionFixed in Version 
Summary0005263: JVDBGrid : if a JVDBGrid can be sorted the columns can't be mouse deplaced via drag & drop.
DescriptionWhen a JVDBGrid is 'sorted' you can't deplace the column because the 'mouseDown' event fire the Sort.
Additional InformationI have made a little hack (see attached file) : if in the JVDBGrid.pas you move the line 2328 (Exit) to the line 2326 (before the end;) you are able to use the Right Mouse click to move the columns and keep the left Mouse click to sort.

new code after change :
        // Display TitlePopup if it exists
        if Assigned(FTitlePopup) then
        begin
          GetCursorPos(CursorPos);
          FTitlePopup.PopupComponent := Self;
          FTitlePopup.Popup(CursorPos.X, CursorPos.Y);
          Exit;
        end;

      end;
TagsNo tags attached.

Activities

2010-06-12 15:38

 

JvDBGrid.pas (153,068 bytes)

obones

2010-08-20 11:43

administrator   ~0017593

Please provide the zipped sources of a sample application showing this

obones

2010-10-08 16:00

administrator   ~0017805

Any news?

obones

2011-06-07 17:24

administrator   ~0018567

No news, I'm assuming this is fixed

Issue History

Date Modified Username Field Change
2010-06-12 15:38 Philnext New Issue
2010-06-12 15:38 Philnext File Added: JvDBGrid.pas
2010-08-20 11:43 obones Note Added: 0017593
2010-08-20 11:43 obones Status new => feedback
2010-10-08 16:00 obones Note Added: 0017805
2011-06-07 17:24 obones Note Added: 0018567
2011-06-07 17:24 obones Status feedback => resolved
2011-06-07 17:24 obones Resolution open => fixed
2011-06-07 17:24 obones Assigned To => obones