Results 1 to 2 of 2

Thread: Where is a simple grid?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    44

    Post

    Hello,

    I am trying to install a simple grid for a
    custom FTP application. Basically I need
    to list:
    FILENAME, DATE, and a checkbox for DELETE

    Don't need anything fancy... I see MSFlexGrid and GridDTC as optional controls but can't figure them out. VB Help isn't ummm... much help.

    Take Care,
    Scott

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    The FlexGrid is probably the quickest/easiest and least Memory hungry Grid that comes with VB, it's really simple to add Rows to the Grid in one go, by seperating the Values in a String using the Tab Character, Chr(9), ie.

    MSFlexGrid1.Cols = 3
    MSFlexGrid1.FixedCols = 0
    MSFlexGrid1.AddItem "FileName" & Chr(9) & Date & Chr(9)

    You can then use the Picture Property of the 3rd Cell to insert an image of a Checkmark using the ItemData property of the row to Store wether the Row is Checked/UnChecked.

    Alternatively you could use the ListView Control in Report Mode.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Certified AllExperts Expert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width