Le 7 janv. 07 à 23:35 Soir, Tim Jones a écrit:

Hi Youri,

Try using a hidden column instead of the CellTag property.

As you add each element, add the absolutepath of your folders to the hidden
column (assuming you're using 4 columns for display 0 - 3):

    me.Cell(me.LastIndex, 4) = f.Item(x).AbsolutePath

Then, when you expand a folder's row, you use that column as your FolderItem

    f = GetFolderItem(me.Cell(Me.ListIndex, r)
    y = f.Count

    for x = 1 to y
    if f.item(x).Directory then
      me.addfolder(f.item(x).DisplayName)
      ...

In my opinion, using the celltag is better (remember that absolutepaths are to avoid unless to show it to the user).

Additionally, I don't understand why using an hidden column (in which you lose an object that becomes a simple text) instead of a CellTag would clear the original problem. Well, I can always be wrong, so I ask you: why is it better to have an hidden column?_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to