Bug when using OnSetText

Bug when using OnSetText

Postby mufalo » Mon 08 Mar 2010 19:20

Hi,
I have a project where I add dynamically columns to VirtualTable.
If I set OnSetText before the rest of columns, the event isn´t fired.

VirtualTable component Version 6.90.0.56 used.

Example:
// Works
VirtualTable1.DeleteFields;
VirtualTable1.AddField('ID',ftInteger);
VirtualTable1.AddField('NAME',ftString,50);
VirtualTable1.FieldByName('ID').OnSetText := VirtualTable1IDSetText;

// Doesn´t Works:
VirtualTable1.DeleteFields;
VirtualTable1.AddField('ID',ftInteger);
VirtualTable1.FieldByName('ID').OnSetText := VirtualTable1IDSetText;
VirtualTable1.AddField('NAME',ftString,50);


If necessary, I have a sample project that´s demonstrate the bug (or behavior).

Thanks is advance,
Adriano.
mufalo
 
Posts: 14
Joined: Mon 21 Nov 2005 18:00

Return to VirtualDAC