-
Hiding File Extension in File List Box
I cant find a way to hide the file extension in a file list box. Is it
possible?
The file type is hard coded, so the extension is just clutter.
Thanks for the answers to my previous question.
Paul H
-
Re: Hiding File Extension in File List Box
The file list box is just a list box...
You could leave it on the form and then
make it invisible.
Place a listbox or a combobox or whatever
your heart desires to replace it...
Populate the new control by walking the listitems
of the file list box and use split(flb.list(x),".")(0)
to populate just the name into the new control.
You could use the index chosen in the new control
to identify the proper selected item in the file list box
and then get the name and path property from that.
....
Hope thats enough to go by...
D.
"Paul H" <paulh@rimex.com> wrote in message news:3baa4bb0$1@news.devx.com...
> I cant find a way to hide the file extension in a file list box. Is it
> possible?
> The file type is hard coded, so the extension is just clutter.
>
> Thanks for the answers to my previous question.
>
> Paul H
>
>
-
Re: Hiding File Extension in File List Box
Thanks for the reply, I had already used that solution, I was just looking
for a simpler way.
"dnagel" <GrandNagel@hotmail.com> wrote in message
news:3bb0fb6f$1@news.devx.com...
> The file list box is just a list box...
>
> You could leave it on the form and then
> make it invisible.
>
> Place a listbox or a combobox or whatever
> your heart desires to replace it...
>
> Populate the new control by walking the listitems
> of the file list box and use split(flb.list(x),".")(0)
> to populate just the name into the new control.
>
> You could use the index chosen in the new control
> to identify the proper selected item in the file list box
> and then get the name and path property from that.
> ...
>
> Hope thats enough to go by...
>
> D.
>
> "Paul H" <paulh@rimex.com> wrote in message
news:3baa4bb0$1@news.devx.com...
> > I cant find a way to hide the file extension in a file list box. Is it
> > possible?
> > The file type is hard coded, so the extension is just clutter.
> >
> > Thanks for the answers to my previous question.
> >
> > Paul H
> >
> >
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks