PDA

View Full Version : VCL? i want !! in flat style


3homer
10-03-2002, 06:20 PM
i want vcls of

TDriveComboBox
TDirectoryListBox
TFileListBox

in flat style?

~3homer~
Thanx,very much.

HTML
10-03-2002, 07:25 PM
Hello,

You can always set the Ctl3D property of the TFileListBox & TDirectoryListBox to false, that should take away that 3d frame look.

Also try some 3rd party flat controls and fill in their combobox/listbox with drive letters and files.There are a few ways ... Without much code, you can just make the FileListBox ,DriveComboBox & DirectoryListBox invisible and copy those items in them over to some flat style controls.

FlatComboBox1.Items:=DriveComboBox1.Items;
FlatListBox1.Items:=FileListBox1.Items;
FlatListBox2.Items:=DirectoryListBox1.Items;

Or just follow Mike's answer to your previous question,
http://www.delphipages.com/threads/thread.cfm?ID=69026&G=69019

Info on how to add icons to ComboBoxes
http://www.ecnet.net/users/gsmpati/delphi

Links to some flat style controls,

FlatStyle2k ( their site is being revamped so use this link from Torry http://www.torry.net/vcl/packs/interfacemiddle/flatstyl.zip )
http://www.eldos.org/elpack
http://www.afalinasoft.com/flat-controls/components.html

Hope you get the result you wanted, Goodluck!