-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|431|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Text and GUI's

Created : 23 January 2008
Edited : 23 January 2008
System : Windows
Language : Blitz

Simple filename picker.

For anybody that wants a quick and easy way to pick out a filename with the mouse. Also allows you to type text in at the top of the screen.



Wednesday, 23 January 2008, 12:35
power mousey
thank you, steve.

I'll try this out.

and I'll pick a file...any file.
Except Top Secret Classified ones.

Monday, 28 January 2008, 15:04
Not exactly what I need at the moment but it's given me a boost in the right direction

Even if I start from scratch I'll certainly be referring to this for guidance.

Wednesday, 30 January 2008, 03:24
Thanx for the review dudes
Monday, 09 October 2017, 15:02
here is an updated version of the filepicker.

Now you can choose to:

    The Manual entry of the text is limited to chars which a filename may use.
    Scroll through the file list. (arrow U/D keys,Page UP-Down, Home, End, MouseWheel and MW+Right Mouse Button)
    Use custom Path.
    Choose how many lines of files shall be show - (dependant on the graphics height and font height !)
    Choose if the path shall be returned or not.
    Display or Hide directories.
    Display or Hide the "." and ".." dots
    And at last - Swap the direction in which the list scrolls while using the mousewheel

Monday, 09 October 2017, 22:10
I forgot I did this topic, you seem to be having some fun with this.
Tuesday, 10 October 2017, 09:27
Lol, last weekend i was searching for a file requester written in Blitzbasic code, because the code for Windows filerequesters over Win-Api-Calls produced unwanted effects,

As i allready had my own filepicker code, which used only the keyboard for selecting, i decided to get something useable with mouse (as from the memory, i saw few using it).
i searched first my local backup and found some code.

And of course it had, as well, some bugs in it, which i had to fix first, before the release of my Zeus ADF editor . And found myself fixing that one
and not concentrating on the Editor thing.

Now i thought the code was from this site and searched here for it - to post the changes, but no.
so i found this one and tested it.

And even thought, if i had this before the other, i would use it (because of the filename entry, which i plan to update the other code soon or later (after i edit the input routine to limit displaying chars and still edit longer text).)

So i saw it could be improved, and released the product for everyone who needs one.

And who knows, maybe some other day ill need a filepicker again, but ill remember this one here ^^;