Things To Do Before
- If you are using the OnCreate or OnDestroy events, move that code to the
class constructor and destructor respectively. These events are only useful
to Delphi programmers, and because of a change in when these events fire with
C++ Builder 4, errors are likely to result from leaving any code in them.
Things To Do Afterward
-
Close the comment on richedit.h line #define PFA_JUSTIFY 4 /* New
paragraph-alignment option 2.0 (*) to then read #define PFA_JUSTIFY
4 /* New paragraph-alignment option 2.0 (*) */
-
References such as Table1->Fields[Index] must be changed
to Table1->Fields->Fields[Index]
-
TFormDesigner is now _di_IFormDesigner
-
You should no longer provide a TComponentEditor constructor in your TComponentEditor
derived class.
-
BCB is a little more rigid now about references to types defined in your
class, for instance as function return values. These need to be qualified
with the class operator.
-
Expressions assigning to tagVariant are probably now assigning to TVariant,
and the OleVariant constructor should be replaced with TVariant, except
when referring to a field->AsVariant (in which case the OleVariant(field->AsVariant)
becomes field->AsVariant).
-
The BeginDrag member function now requires a Threshold (in pixels) as the
second parameter. The documentation states the default is zero - however,
there is no default; you must supply the 0.
-
You should no longer provide a property editor constructor in any TPropertyEditor
derived class.
- TTable::AddIndex now requires an additional parameter "DescFields"
- not described, but probably a list of fields to be indexed descending.
|
|