Re: List Files
- From: "Bob Landers" <bob@xxxxxxxxxxxxx>
- Date: Thu, 12 Apr 2007 02:10:03 +1000
John,
Thanks for your comments regarding the tab control. Another person on this
board has suggested a similar approach too. I'm going to run with it.
Thanks.
Regards
Bob
"John Nurick" <j.mapSoN.nurick@xxxxxxxxxxxxxx> wrote in message
news:2bqo13du6r1m1sdli0qb91l33ohphecgg6@xxxxxxxxxx
Access can modify its forms under program control, but it's not a
practical process for normal operational use. But there's no obvious
reason why you shouldn't create a reasonable number of tabs and hide the
ones that aren't needed at any given time.
It's not as if this will be a large number. Once a tab control has more
than one row of tabs it becoms a less practical UI, and with three or
more rows it's awful, so if you expect to regularly need more than about
eight folders you should probably be looking for a different metaphor.
If you create 20 tabs it's more than enough. (Also, tabs are a hopeless
metaphor for a hierarchical structure of folders and subfolders.)
On the other hand if you *do* need lots of folders and subfolders, how
about a TreeView control to handle the folders, with a ListView
alongside for the files, allee samee Windows Explorer?
On Wed, 11 Apr 2007 09:07:51 +1000, "Bob Landers" <bob@xxxxxxxxxxxxx>
wrote:
That's the one.
I'm using a listview control at the moment, but all I have succeeded in
doing so far is providing a list of the files and subfolders in my
Templates
directory. I would like the list to contain little icons beside each
filename/subfolder listed (just like microsoft's template picker). By the
way, I don't just want this for my templates - I am creating this database
for my office and I would like to be able to use the same code/method to
provide a list of all documents (doc/pdfs/emails) on our system that
relate
to a particular client so that a user searching for related files simply
has
to double click a filename in my list in order immediately to open the
file
without having to drill down to the correct directory on our server first.
Getting off-track a bit, I was also hoping to create separate tabpages for
each subfolder in my templates directory - again much like microsoft's
template picker. But it would appear that you can't create tabpages on
the
fly. Without digressing from my current query too much, do you know of
any
work around for this? (I'd rather than not hardcode the individual pages
since I would prefer to provide the user with as much flexibility as
possible when creating templates.) At present, I've got all the templates
being displayed/listed on one listview control on single tabpage.
Regards
Bob
"John Nurick" <j.mapSoN.nurick@xxxxxxxxxxxxxx> wrote in message
news:5orn131rfft6uead7f1tibvtj5tk60oje4@xxxxxxxxxx
The one you get when you do File|New and then click "On my computer"? I
believe that uses a ListView control. I've never needed to use one
myself.
On Tue, 10 Apr 2007 09:37:37 +1000, "Bob Landers" <bob@xxxxxxxxxxxxx>
wrote:
Thanks for the response John,
Actually, what I'm trying to do is emulate the "Templates" dialog box in
MS
Word.
I want my own templates to appear and behave much the same as the
templates
in the MSWord templates dialog box.
Regards
Bob
"John Nurick" <j.mapSoN.nurick@xxxxxxxxxxxxxx> wrote in message
news:hq8l13dv8s85sbn99js6fmsphhik7j1gdl@xxxxxxxxxx
Hi Bob,
Would it be acceptable to give the users the standard File|Open
dialog?
If so, see http://www.mvps.org/access/api/api0001.htm.
On Mon, 9 Apr 2007 22:25:57 +1000, "Bob Landers" <bob@xxxxxxxxxxxxx>
wrote:
Hi folks,
I would like to be able to provide the user with a list of files in a
specified folder and its subfolders. So far, I have been able to
achieve
this simply by using the filesystemobject and outputting the resulting
list
of file and folder names to a valuelist box on my access form.
However, I would also like incorporate the following features into my
list:
(1) an icon to the left of the filename indicating the file type type,
eg
a
word icon for msword files, a pdf icon for pdf files etc; and
(2) the ability for a user to double-click the filename in my list to
open
the relevant file.
Can anyone point me to any tutorials or give me some pointers on how
to
achieve either of these objectives?
TIA
Bob
--
John Nurick [Microsoft Access MVP]
Please respond in the newsgroup and not by email.
--
John Nurick [Microsoft Access MVP]
Please respond in the newsgroup and not by email.
--
John Nurick [Microsoft Access MVP]
Please respond in the newsgroup and not by email.
.
- References:
- List Files
- From: Bob Landers
- Re: List Files
- From: John Nurick
- Re: List Files
- From: Bob Landers
- Re: List Files
- From: John Nurick
- Re: List Files
- From: Bob Landers
- Re: List Files
- From: John Nurick
- List Files
- Prev by Date: Re: Tabpages on the fly?
- Next by Date: Re: Tabpages on the fly?
- Previous by thread: Re: List Files
- Next by thread: How to compare times - only need AM/PM
- Index(es):
Relevant Pages
|