Menu

#671 OODialog / Listview control / Virtual List View Style / LVS_OWNERDATA

None
unread
nobody
None
none
1
2015-11-17
2015-11-17
No

Dear all,

I am building an application (transferring something from MS-Excel) in ooRexx where I want to use some listview controls to display all data and to perform some actions on it.

The goal of the application is to act as a "matching/offsetting" tool (match debet to credit amounts). This can be in a one to many, many to one or many to many relation. All this functionality is already progammed and works fine.

The data comes from a SQL database using REXX/SQL together with J. Blumel's SQL framework.

The volumes of data which need to be loaded in the listview are sometimes (depending the account) high (>100.000 rows). The time required to obtain the data and to build 'LvFullRows' is acceptable. However executing the 'addFullRow' method takes forever. Note that all data needs to be shown onto the dialog because using the internal sort method is heavenly used (sorting by absolute amount, reference, payee, etc.)

I have been looking into Microsoft's documentation and believe that the 'virtual list-view style' could be a solution.

This style is however not (yet) implemented in ooRexx. So my question is the following: is it the idea to implement this style in a future release? Other idea's for solving the issue are of course also welcome!

Discussion

  • Jon Wolfers

    Jon Wolfers - 2015-11-17

    Hi Danny,

    Sadly our ooDialog Maintainer (Mark Miesfeld) died last year and as yet no one with the necesary skills has come forward. This doesn't necessarily mean that future development of ooDialog will not happen, but it is certainly not likely to happen quickly.

    Sorry,

    Jon

     
  • Jon Wolfers

    Jon Wolfers - 2015-11-17

    Danny,

    Do you use the list view prepare4nitems method? That might improve performance.

    Jon

     
  • Danny De Wilde

    Danny De Wilde - 2015-11-17

    Hi Jon,

    I am sorry to hear that Mark passed away last year. Although reading a lot on Rexx in general, I wasn't aware.

    Yes, I do use the 'prepare4nitems' method. I perhaps should also mention that I use the CustomDraw class which definitly slows down the listview control.

    Kind regards.

     

Anonymous
Anonymous

Add attachments
Cancel