Announcement

Collapse
No announcement yet.

ListView Control as GRID

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Erik Christensen
    replied
    greg,

    you may be interested in this program just posted:
    http://www.powerbasic.com/support/pb...ad.php?t=23191

    best regards,

    erik

    ------------------

    Leave a comment:


  • Russ Srole
    replied
    Jules,

    Just to clarify, this gridview dll uses the EzGui 2.0 runtime DLL,
    not Chris free designer. Of course one could convert it to DDT or
    API if you want.

    Russ Srole

    ------------------

    Leave a comment:


  • Jules Marchildon
    replied
    Russ,

    Thank you! No, I am not in a hurry, I program for pleasure, it's not a job for me.
    I'll wait for your post, just kindly let me know when you do it.

    Thanks!
    Regards,
    Jules

    Leave a comment:


  • Russ Srole
    replied
    Jules,

    Yes, my intent is to post it on the EzGui site. I'd like to clean
    it up a bit, document the code and write up some rules. It's a
    combination of code in a dll and code that you must put in your main
    exe. Of course one could just put the whole thing in your main
    program if you like. Are you in a hurry? Or can you wait for me
    to get my documentation act together?

    Russ Srole

    ------------------

    Leave a comment:


  • Jules Marchildon
    replied
    Russ;

    I ended up making a
    virtual "Gridview" dll in EzGui 2.0 and pass a two dimentional
    array of strings to the dll. This way only the records that are
    visible are updated on the gui. In addition using color in the
    listview is a pain. I have code to do it if you want.
    Is this code available to others?

    Regards,
    Jules EMAIL: [email protected]

    Leave a comment:


  • Gregery D Engle
    replied
    Thanks guys. I really don't want to lug around a DLL, maybe
    I'll create a Virtual ListView. Shouldn't be too hard.

    ------------------
    -Greg

    Leave a comment:


  • Frank W. Kelley
    replied
    I can heartily recommend SIGrid. It's fairly straightforward to set up and works very well. Depending on your needs, there can be quite a bit of initialization code (not SIGrid's fault--kudos to M$) but the result looks and works great.

    I've used SIGrid under EZGUI with no problems. Trying to code the ListView yourself would be a massive amount of work, but at least you could put in any extra whistles and bells you wanted.

    ------------------

    Leave a comment:


  • Russ Srole
    replied
    Greg,

    You can, but if you have a lot of cells to fill and update, it gets
    to be really slow. I had 45,000 cells to fill and it took way more
    then a minute to fill on a 550 megahertz cpu. I ended up making a
    virtual "Gridview" dll in EzGui 2.0 and pass a two dimentional
    array of strings to the dll. This way only the records that are
    visible are updated on the gui. In addition using color in the
    listview is a pain. I have code to do it if you want.

    You can also look into Edwin Koppels (sp?) gridview control. I
    didn't mess with it too much, because he doesn't have cell color.
    There's a couple of commercial gridviews available, SIGrid looks
    pretty good.

    Russ Srole

    ------------------

    Leave a comment:


  • Gregery D Engle
    started a topic ListView Control as GRID

    ListView Control as GRID

    Has anyone successfully used a ListView Control
    as a GRID control?

    Any Pro's Cons?

    ------------------
    -Greg
Working...
X