Guest Posted October 5, 2010 Share Posted October 5, 2010 Message from: "schweppes" Hi, how do i do this with findComponent('B'+inttostr(counter)) as TUniButton do begin works ok in vcl Thanks __________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com . Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2010 Author Share Posted October 5, 2010 Message from: "Farshad Mohajeri" "schweppes" . > Hi, > > how do i do this > with findComponent('B'+inttostr(counter)) as TUniButton do begin > Please use explicit typecast as below: TUniButton(findComponent('B'+inttostr(counter)); . Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2010 Author Share Posted October 5, 2010 Message from: "schweppes" Thank You, works 100% "Farshad Mohajeri" wrote in message news:fFrTOSJZLHA.1928@anaxagvs227... > > "schweppes" . >> Hi, >> >> how do i do this >> with findComponent('B'+inttostr(counter)) as TUniButton do begin >> > > > Please use explicit typecast as below: > > TUniButton(findComponent('B'+inttostr(counter)); > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 5505 (20101005) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now