Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop components questions
#1
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
Reply


Messages In This Thread
Loop components questions - by SorenJensen - 09-18-2019, 05:42 AM
RE: Loop components questions - by kudzu - 09-18-2019, 02:00 PM
RE: Loop components questions - by SorenJensen - 09-18-2019, 02:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)