09-18-2019, 05:42 AM
Hi All,
Maybe my understanding of IWForms versus VCL forms lacks a lot, but could anyone please explain why it is that
"for i := 0 to self.componentcount -1 do" compiles ok and
"for i := 0 to TIWForm1.componentcount -1 do" fails with: Componentcount "inaccessible" here
Isn't self and tiwform1 one and the same in this case ?
Regards
Soren
Maybe my understanding of IWForms versus VCL forms lacks a lot, but could anyone please explain why it is that
"for i := 0 to self.componentcount -1 do" compiles ok and
"for i := 0 to TIWForm1.componentcount -1 do" fails with: Componentcount "inaccessible" here
Isn't self and tiwform1 one and the same in this case ?
Regards
Soren