Hello ,

I am wondering why object of a tform is not visible to initialisation section?
The folowing piece of  code gives an error ?

type
 tfrmInfotiersfo = class(tfrmbasePagefo)

    tdbwidgetgrid1:     tdbwidgetgrid;
    tdbdatetimeedit1:   tdbdatetimeedit;
    tdbintegeredit1:    tdbintegeredit;

....
....

 var
frmInfotiersfo: tfrmInfotiersfo; aR1:array[1..2] of tcustomdataedit;


initialisation
begin
ar1[1]:=(tdbintegeredit1);
end;

end.

I got the error frmInfotiers.pas(134,23) Error: Identifier not found 
"tdbintegeredit1"  ?
why tdbintegeredit1 is not visible to the init section

Best Regards.

Med




_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to