Guest Posted October 5, 2010 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 . Quote
Guest Posted October 5, 2010 Author 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)); . Quote
Guest Posted October 5, 2010 Author 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 . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.