#130 OODialog List Control Class Activate sort headers

ooDialog (102)
Jon Wolfers

The OODialog listControl Class allows one to have sort headers on the report view. One can detect columnclicks on these sort headers with the ConnectListNotify method.

However, many windows apps allow the sorting of the data by clicking on those column headers. One can simulate this with rexx code outside the object using the itemInfo & itemModify methods, but it is very slow. I intuit that the underlying windows listcontrol object has sort methods that our OODialog wrapper does not give us access to.

If the underlying object has this functionality can we access it too please.

I know that Mark has shown an interest in OOdialog recently so I thought this might interest him.




  • Mark Miesfeld

    Mark Miesfeld - 2007-03-30

    Logged In: YES
    Originator: NO


    Yes, I am interested in this. Too many things on my plate right now. I want to start working on 4.0. The ooDialog code in 4.0 is completely untouched. When I update that to work with the new APIs, I will try to bring as many ooDialog feature requests and bug fixes in as I can.

    Something like this, I would probably work out the details and test with the 3.1.2 code. So, this might get put in to the 3.x base before 4.0 is ready.

  • Mark Miesfeld

    Mark Miesfeld - 2012-08-27
    • status: open --> accepted
    • assigned_to: Mark Miesfeld
    • pending_work_items: --> code+doc+test
  • Mark Miesfeld

    Mark Miesfeld - 2012-09-05

    Committed revision [r8377]
    implementation code

    Committed revision [r8378]

    The list-view control itself does the sorting by calling a comparison function with data pointing to 2 items. The comparison function returns 0, less than 0, greater than 0 to specify which item is ahead of the other in the sort.

    Implemented a sortItems() method that allows the comparison function to be invoked in the Rexx dialog and a way to use an internal comparison function in the native implementation code.

    • status: accepted --> pending
    • pending_work_items: code+doc+test --> complete
    • milestone: None --> ooDialog.4.2.1


    Commit: [r8377]
    Commit: [r8378]

  • Mark Miesfeld

    Mark Miesfeld - 2013-01-12

    This enhancement is available in the ooDialog 4.2.1 release.

  • Mark Miesfeld

    Mark Miesfeld - 2013-01-12
    • status: pending --> closed


Cancel  Add attachments