|
Home > Archive > dBASE Questions and Answers > October 2006 > Creating a working file structure on a form
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Creating a working file structure on a form
|
|
| Allen Peplinski 2006-10-25, 7:34 am |
| I'm trying to create a tree like file structure (like Windows Explorer give you) in a form. The user can then expand the structure and find the folder he/she is looking for. Then, depending on which folder they have selected, I will give them certain op
tions.
I've tried using a tree structure type object but I can't get the code to work in order to display the current drives file structure and have it expandable, I can only display one level at most. Thanks for the help!!!
Allen
| |
| Ken Mayer [dBVIPS] 2006-10-25, 7:34 am |
| Allen Peplinski wrote:
> I'm trying to create a tree like file structure (like Windows
> Explorer give you) in a form. The user can then expand the structure
> and find the folder he/she is looking for. Then, depending on which
> folder they have selected, I will give them certain options.
>
> I've tried using a tree structure type object but I can't get the
> code to work in order to display the current drives file structure
> and have it expandable, I can only display one level at most. Thanks
> for the help!!!
I guess it would help if you showed the code.
Also, have you looked at the GETDIR() and PUTDIR() functions in dBASE?
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Roland Wingerter 2006-10-25, 7:34 am |
| Allen Peplinsk wrote
> I'm trying to create a tree like file structure (like Windows Explorer
> give you) in a form. The user can then expand the structure and find the
> folder he/she is looking for. Then, depending on which folder they have
> selected, I will give them certain options.
>
> I've tried using a tree structure type object but I can't get the code to
> work in order to display the current drives file structure and have it
> expandable, I can only display one level at most. Thanks for the help!!!
-------
In addition to Ken's answer...
You may also want to look at :dUFLP:fileRecurser.cc.
Roland
|
|
|
|
|