Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2008 Server
Have not looked at the stuff Greg posted about, but in a fwk I use for some clients the binding of Treeview to Cursor is abstacted at a high level and you can link child grids or gridlines to the record liked to the Treeview. Even without the fwk my very first gut reaction before readinf the ohers answers was to use a Treeview and make it work from there instead of hammering on old vfp grid, although the trick Naomi posted looks easy enough.
>Hi,
>
>Have a grid where I would like the row content for one field to switch between displaying a file name or displaying an image of a file folder. Basically I am trying to get a simple grid to look a bit more like an explorer view.
>
>It does not have to be fancy as this app calls a document system's api and all they return is either all the document names in a folder or a folder name. I would just like to be able to allow users to see all the documents and then a slightly different image for a folder (folder name but with an image of a folder beside it, most likely in a separate column).
>
>Conceptually, is this going to work? I can set a flag in the table to indicate that the row is an entry for a folder but how do I have it switch between the two? Do I do some sort of IIF() to set .DynamicCurrentControl? and if so, anyone ever do this and it looks good or am I just trying to do something too funky?
>
>Just wanted to ask before I put a lot of time into making it work.
>
>TIA,
>Albert
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement