Mastering Delphi 4 Updates |
I've found a few small errors in Mastering Delphi 4, and a few changes required by the Delphi 4 Update 2 released by Borland on their web site, in the Delphi Download area.
Here is a list by chapter and page:
The text describing the Delphi 4.0 situation as a possible cause of problems does not apply any
more.
Recent Additions
Chapter 3, Page 113
Chapter 8, CustHint example
Chapter 14, FontBoxDemo example
Older Corrections
Chapter 2, page 47
Chapter 3, page 124
Chapter 4, page 162
Chapter 4, page 164
Chapter 6, page 263
Chapter 7, page 310
Chaptr 8, Page 390
The example showing a Menu in a control bar works best if all of the ToolButtons have
Grouped property set to True. Notice also that Borland has made available a free ToolMenu component on their Web site (in the Delphi Downloads area).
Chapter 11, page 506
On the 5th last line of the listing, in the loop for the code has an extra +1. It reads DbComboBox1.Item[Random(NoBranch)+1], but it should be DbComboBox1.Item[Random(NoBranch)].
Chapter 16, page 760 (CppDll example)
Chapter 16, page 766
You can easily fix the problem by changing the final lines to:
exports
Triple (N: Integer);
Chapter 17, page 814
Chapter 22, page 978