Posted on 1999-01-13
I have a main form in my DB application which loads other forms from a toolbar, I use the
If Assigned( frInformation ) Then
frInformation := TfrInformation.CreateApplication);
which works great My problem is this in this form (frInformation) I have a bunch of data controls linked to a data source. The OnDataChange event on this data source I have a routine that draw on the form (frInformation). problem is as the form load the OnDataChange event is triggered, I cannot use the if assigned(frInformation) because it does not work(it works by not on loading but if run once the user has control it does not change what am I doing wrong) , so how can i tell if thoses control are ready to recieve data?