After enlarging a database table's VarChar field from size 20 to size 50, I have to update the Size property of hundreds of design-time created TFields and I would like to do that once for all (I don't want to do the same work again, as soon someone will decide to change the field's size again).
The smartest way that comes to my mind consists in setting the TField's Size property at runtime:
const
C_MY_FIELD_SIZE = 50;
...
MyField.Size := C_MY_FIELD_SIZE;
The only "problem" is that other programmers will see a misleading value displayed in the Size property of the Object Inspector at design time.
I'm wondering if there is an equivalent design-time solution