Borland C++ Builder Introduction
Download the sample code constructed during
the presentation.
I added a few things to the demo that you might want to look at:
- Added bitmaps to the menus and to the tabs.
- Added hints to most of the components. (Float the mouse over the component to see the hint.)
The AutoHint property switches between "popup" hints and using the status bar for hints. Try it.
- Modified the drag and drop code to respect the user's choice (drop filenames in list or open
text file in editor).
- Added the ability to enable double-buffering. Reduces flicker for the GDI and Bitmap stuff.
- Added a checkbox to switch between RTF and plain text in the editor when loading/saving.
Remember, the code (what little there is) isn't that clean because I pretty much just
threw it together last Friday during the presentation (as you saw). However, since
there's only a handful of lines of code, it's not as bad as you might expect.
Screenshots