I've got several Perl databases (created with MLDBM "DB_File") with slightly different record structures that I'd like to view. So I want to make a gui-based application that would allow me to open the DB, select a record, and view the contents of the record in an expandable list structure (i.e. like you get with Komodo debug variables view, or with windoze explorer when looking at directory trees, etc. ). In other words, it would perform a simular function to module Data::Dumper, only record by record and in a gui with the expandable list.

I've done some elementary Win32::GUI stuff so I can handle the select records part. But I'm not sure how to set up that expandable list structure, or how to populate it with data from an unknown record structure.

Super Search didn't turn up much help. Does anyone have advice for how to approach this task? Have a code sample that would help, maybe? tia...Steve


In reply to Making GUI to view db records by cormanaz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.