Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

A custom compact and resizable Open File/Save File/Folder Select.

$
0
0
This example using the latest glist4 and fileselector class for a compact file loader.
From setup menu we can change the sort type, the behavior, the performance (normal recursive 3 levels, recursive all levels). For this example the scope is to open an image file so we have a preview. We can select "multiselect" and we can fill the list on the main form with files not only from one folder but from any folder that we can open "recursive". Each file has path on it.
We can set a top folder so we can't go up beyond top folder.
It is easy to use.
Next time I make the Save File (need to take input...and I would like to finish gEditbox).

2 bug fixes. One is a logic bug, because I use internal list and external list to populate the listbox without block the logic for menus. I fixed that making the flag in selector class as a property so in a change of it, secondary changes a flag in the glist so menu parcing is blocked. So simple. The other bug is also from menu. When you select a non selected radio button and click in an other line (wrong Y position) in right X position then that click goes to the radio button and enabled. So I put an condition check and bug is over.


Programming is an art to describe your faults.

*********** Good News ******
The control is done. Now We can Save/Load/Select Folder only. Multiselection for files, tree of folders and or files, preview images (for the example). Also now glist can edit line and centered line too.
Attached Images
  
Attached Files

Viewing all articles
Browse latest Browse all 1449

Trending Articles