Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 25053, Help code example using a tab control to display several files

by Rick Dickason Email: edickason@codegear.com


ComCtrls.TCustomTabControl.Tabs
ComCtrls.TCustomTabControl.TabIndex
ComCtrls.TCustomTabControl.OnChange
Classes.TStrings.Assign
Dialogs.TOpenDialog.FileName
Dialogs.TOpenDialog.Files
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 11.0  to 11.0 574 downloads
Copyright: No significant restrictions


Size: 7,812 bytes
Updated on Wed, 03 Oct 2007 15:02:14 GMT
Originally uploaded on Wed, 03 Oct 2007 15:02:11 GMT
SHA1 Hash: 3E4764C6D3B65B74A51D067AD8C6516BDB9E49B6
MD5 Hash: 607FF0FC332E4BE275666FA46C21493F

    Explore the files in this upload

Description
This example uses a tab control to display the contents of several files. To run the example, place a tab control on a form and add a memo control that fits into its client area. Be sure to leave enough room for the tabs when they appear. Then add an OpenDialog and a button to the form. The "Add a file" button adds a single file to the tabcontrol. The "Assign files" button removes previous files and can be used to assign multiple files. To assign multiple files, use CNTL Select or SHIFT Select to select files in the OpenDialog.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03