Secure File Deletion in Delphi - Building the GUI
(Page 2 of 4 )
You can create the GUI to your liking, the one I’m creating here is just for guidance. The reason why I am going to design the GUI in this way is because I’m going to implement a drag and drop functionality between the filelistbox and the tlistbox.
Start up Delphi and create a new application: goto File then New then Application. Drop three panels, one filelistbox, a directorylistbox, drivecombobox, Tlistbox, two Tsplitter, three statictext, one Tlabel, four speedbuttons, Progressbar, and one Groupbox.
Size the form to your liking and align panel1 to alLeft. Add the tsplitter1, align it to alLeft as well. Align panel2 to alRight and do likewise with splitter 2. Then align panel3 to alClient, then arrange the rest of the components as you like. Interconnect the drivecombobox, the filelistbox and directorylistbox components and you are ready to go!
Here's my design so far:

Next: The code >>
More Delphi-Kylix Articles
More By Jacques Noah